예제 #1
0
        private void toolAdd_Click(object sender, EventArgs e)
        {
            FormPayTypeInput formPayTypeInput = new FormPayTypeInput();

            formPayTypeInput.Tag   = "Add";
            formPayTypeInput.Owner = this;
            formPayTypeInput.ShowDialog();
        }
예제 #2
0
 private void toolAmend_Click(object sender, EventArgs e)
 {
     if (dgvPayType.Rows.Count > 0)
     {
         FormPayTypeInput formPayTypeInput = new FormPayTypeInput();
         formPayTypeInput.Tag   = "Edit";
         formPayTypeInput.Owner = this;
         formPayTypeInput.ShowDialog();
     }
 }