Exemple #1
0
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     try
     {
         customer_services c = new customer_services(LB.SelectedValue);
         c.ShowDialog();
         Fill_DG_Services();
     }
     catch
     {
     }
 }
Exemple #2
0
 private void EP_Services_Add(object sender, EventArgs e)
 {
     try
     {
         customer_services c = new customer_services(LB.SelectedValue);
         c.ShowDialog();
         Fill_DG_Services();
     }
     catch
     {
     }
 }
Exemple #3
0
 private void EP_Services_Edit(object sender, EventArgs e)
 {
     try
     {
         if (LB.SelectedIndex != -1)
         {
             customer_services c = new customer_services(LB.SelectedValue, ((DataRowView)Services_DG.SelectedItem)["cs_id"]);
             c.ShowDialog();
             Fill_DG_Services();
         }
     }
     catch
     {
     }
 }