Skip to content

Instantly share code, notes, and snippets.

@localdevm
Last active October 27, 2015 20:13
Show Gist options
  • Save localdevm/1e0573996f2b7c5db6cd to your computer and use it in GitHub Desktop.
Save localdevm/1e0573996f2b7c5db6cd to your computer and use it in GitHub Desktop.
//http://prntscr.com/8w13bc
//**What I want**
//I'd like it to show a messagebox when for example
//the textboxes have a certain value in it (such as name : tim , fname: dams, etc ..)
//and the right textboxes are checked (for example A, B, Banaan, 3)
//how do i go about this?
namespace Labo6Extra
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private void checkBox1_Checked(object sender, RoutedEventArgs e)
{
}
private void txbName_TextChanged(object sender, TextChangedEventArgs e)
{
if (txbName.Text == "Tim")
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment