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 { } }
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 { } }
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 { } }