示例#1
0
 public StaffUpdate(string SNo)
 {//修改
     InitializeComponent();
     currentSelectedID = SNo;
     _instance         = this;
     isAdd             = false;
 }
示例#2
0
 public StaffUpdate()
 {//新增
     InitializeComponent();
     currentSelectedID = null;
     isAdd             = true;
     _instance         = this;
 }
示例#3
0
        private void UpdateBtn_Click(object sender, EventArgs e)
        {
            StaffUpdate staffUpdate = new StaffUpdate(currentSelectedID);

            staffUpdate.Show();
        }
示例#4
0
        private void AddBtn_Click(object sender, EventArgs e)
        {
            StaffUpdate staffUpdate = new StaffUpdate();

            staffUpdate.Show();
        }