anonymous
  • anonymous
I need help Create a GUI application that prompts a user to enter an integer. When the user clicks a button, try to convert the user's entry to an integer and display a message indicating whether the user was successful.
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
schrodinger
  • schrodinger
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
I give you what I have so far but it requires Visual Basic
anonymous
  • anonymous
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ExceptionHandlingDemoGUI { public class Form1 : Form { public Form1() {Private Sub EvaluateInput() Dim InputValue As String InputValue = ValueTextBox.Text If IsNumeric(InputValue) Then MessageBox.Show(InputValue & " is a number.") Else MessageBox.Show(InputValue & " is not a number.") End If End Sub Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) _ Handles Button2.Click 'Continue Button EvaluateInput() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs Handles Button1.Click 'Exit Button Dim button As DialogResult button = MessageBox.Show _ ("Are you sure you want to exit this application?", _ "Message", MessageBoxButtons.YesNo, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1) If button = Windows.Forms.DialogResult.Yes Then Me.Close() Else 'Do Nothing End If End Sub End Class InitializeComponent(); } } }
anonymous
  • anonymous
so you think you could help?

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
I am having the problem getting it to actually run properly
anonymous
  • anonymous
can u help me
walters
  • walters
@sami-21
anonymous
  • anonymous
@AuthenticationError
anonymous
  • anonymous
you must watch your GUI correctly wen using visual basic

Looking for something else?

Not the answer you are looking for? Search for more explanations.