Example #1
0
 private void Button_Click_3(object sender, RoutedEventArgs e)
 {
     try
     {
         width_height c = new width_height(LB.SelectedValue);
         c.ShowDialog();
         Fill_DG_Height_Weight();
     }
     catch
     {
     }
 }
Example #2
0
 private void EP_Height_Add(object sender, EventArgs e)
 {
     try
     {
         width_height c = new width_height(LB.SelectedValue);
         c.ShowDialog();
         Fill_DG_Height_Weight();
     }
     catch
     {
     }
 }
Example #3
0
 private void EP_Height_Edit(object sender, EventArgs e)
 {
     try
     {
         if (LB.SelectedIndex != -1)
         {
             width_height c = new width_height(LB.SelectedValue, ((DataRowView)Height_Weight_DG.SelectedItem)["hw_id"]);
             c.ShowDialog();
             Fill_DG_Height_Weight();
         }
     }
     catch
     {
     }
 }