예제 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Form22 f2 = new Form22();

            f2.personel_Code = "-1";
            f2.id_group      = id_group.ToString();
            f2.id_year       = id_year.ToString();
            f2.id_moon       = id_moon.ToString();
            f2.state1        = "1";
            f2.Text          = this.Text;
            f2.Show();
        }
예제 #2
0
 private void grdAuthorTitles_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (U_set.u_user_sec(17) != 0)
     {
         if (e.RowIndex != -1)
         {
             Form22 f2 = new Form22();
             f2.personel_Code = grdAuthorTitles.Rows[e.RowIndex].Cells[0].FormattedValue.ToString();
             f2.id_group      = id_group.ToString();
             f2.id_year       = id_year.ToString();
             f2.id_moon       = id_moon.ToString();
             f2.state1        = "2";
             f2.Text          = this.Text + " - پرسنل : " + grdAuthorTitles.Rows[e.RowIndex].Cells[3].FormattedValue.ToString() + " " + grdAuthorTitles.Rows[e.RowIndex].Cells[4].FormattedValue.ToString();
             f2.Show();
         }
     }
 }
예제 #3
0
 private void Click_ff3a87dd(object sender, System.EventArgs e)
 {
     Form22.Show();
 }
예제 #4
0
 public static void control_Del_Form(Form form22)
 {
     form22 = new Form22();//“删除”窗体
     form22.Show();
 }