示例#1
0
 private void btn_View_Bond_No_Click(object sender, EventArgs e)
 {
     if (textBox_Year.Text != "")
     {
         Grid_Destruction_Bond.SCR_FRM_Destruction = true;
         Grid_Destruction_Bond grid_Destruction_Bond = new Grid_Destruction_Bond();
         grid_Destruction_Bond.ShowDialog();
         Grid_Destruction_Bond.SCR_FRM_Destruction = false;
     }
 }
 private void btn_View_Bond_No_Click(object sender, EventArgs e)
 {
     if (textBox_Year.Text != string.Empty)
     {
         Grid_Destruction_Bond.SCR_Destruction_Bond = true;
         Grid_Destruction_Bond ss = new Grid_Destruction_Bond();
         ss.ShowDialog();
         Grid_Destruction_Bond.SCR_Destruction_Bond = false;
     }
 }
示例#3
0
 private void btn_View_Bond_No_Click(object sender, EventArgs e)
 {
     try
     {
         if (textBox_Year.Text != "")
         {
             Grid_Destruction_Bond grid_Destruction_Bond = new Grid_Destruction_Bond();
             grid_Destruction_Bond.ShowDialog();
         }
     }
     catch (Exception ee)
     {
         con.Close();
         MessageBox.Show("يرجى تصوير الخطأ ومراجعة مدير النظام ، شكرا" + ee.Message, "ERROR 1021 Destruction_Bond", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }