private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     try
     {
         wpfClientSearch frm = new wpfClientSearch();
         frm.status = "Client";
         frm.UserID = UserID;
         frm.cId = 0;
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         System.Windows.MessageBox.Show("Runtime Error: " + ex.Message, "Error", MessageBoxButton.OK, MessageBoxImage.Error);
         return;
     }
 }
Exemplo n.º 2
0
 private void btnAdd_Click(object sender, RoutedEventArgs e)
 {
     wpfClientSearch frm = new wpfClientSearch();
     frm.status = "Employee";
     frm.UserID = UserID;
     frm.ShowDialog();
 }
Exemplo n.º 3
0
 private void btnVClient_Click(object sender, RoutedEventArgs e)
 {
     wpfClientSearch frm = new wpfClientSearch();
     frm.status = "Client";
     frm.UserID = UserID;
     frm.status2 = "View1";
     frm.ShowDialog();
 }