예제 #1
0
 private void bunifuCustomDataGrid1_DoubleClick(object sender, EventArgs e)
 {
     PL.DisplayMaterials frm = new DisplayMaterials();
     try
     {
         string cheack = seed.BringSeedsByType
                             (this.bunifuCustomDataGrid1.CurrentRow.Cells[1].Value.ToString()).Rows[0][0].ToString();
         frm.bunifuCustomDataGrid1.DataSource =
             seed.BringSeedsByType(this.bunifuCustomDataGrid1.CurrentRow.Cells[1].Value.ToString());
         frm.ShowDialog();
     }
     catch
     {
         MessageBox.Show("لا يوجد شيئ");
     }
 }
예제 #2
0
 private void bunifuCustomDataGrid1_DoubleClick(object sender, EventArgs e)
 {
     PL.DisplayMaterials frm = new DisplayMaterials(this.bunifuCustomDataGrid1.CurrentRow.Cells[1].Value.ToString(), comboBox1.SelectedValue.ToString());
     frm.ShowDialog();
 }