Beispiel #1
0
 public static hyxgFrom Create(staffTable model11, databind bind1)
 {
     bind  = bind1;
     model = model11;
     if (yggl == null)
     {
         yggl = new hyxgFrom();
     }
     return(yggl);
 }
Beispiel #2
0
        private void xgbutton_Click(object sender, EventArgs e)
        {
            if (dataGridView1.SelectedRows.Count != 1)
            {
                MessageBox.Show("请选择一条数据!");
                return;
            }
            staffTable model = (staffTable)dataGridView1.SelectedRows[0].DataBoundItem;
            hyxgFrom   hyxg  = hyxgFrom.Create(model, databind);

            hyxg.Show();
            hyxg.Focus();
        }
Beispiel #3
0
 private void hyxgFrom_FormClosed(object sender, FormClosedEventArgs e)
 {
     yggl = null;
 }