Esempio n. 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     using (薪资录入 mForm = new 薪资录入())
     {
         mForm.ShowDialog();
     }
 }
Esempio n. 2
0
 private void dgvCustomerBills_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         if (e.ColumnIndex == dgvUserSalary.Columns["ColModify"].Index)
         {
             薪资录入 mForm = new 薪资录入();
             mForm.mId = Convert.ToInt64(dgvUserSalary.Rows[e.RowIndex].Cells["idDataGridViewTextBoxColumn"].Value);
             mForm.ShowDialog();
         }
     }
 }