Example #1
0
 private void linkLabel新增_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     try
     {
         FormAddCL fadd = new FormAddCL(0, "");
         fadd.StartPosition = FormStartPosition.CenterScreen;
         fadd.ShowDialog();
         LoadEV();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Example #2
0
 private void linkLabelEdit_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     try
     {
         FormAddCL f1 = new FormAddCL(2, comboBox1.Text);
         f1.StartPosition = FormStartPosition.CenterScreen;
         f1.ShowDialog();
         LoadEV();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }