Пример #1
0
        private void toolAdd_Click(object sender, EventArgs e)
        {
            FormConsignCorpInput formConsignCorpInput = new FormConsignCorpInput();

            formConsignCorpInput.Tag   = "Add";
            formConsignCorpInput.Owner = this;
            formConsignCorpInput.ShowDialog();
        }
Пример #2
0
 private void toolAmend_Click(object sender, EventArgs e)
 {
     if (dgvConsignCorp.RowCount > 0)
     {
         FormConsignCorpInput formConsignCorpInput = new FormConsignCorpInput();
         formConsignCorpInput.Tag   = "Edit";
         formConsignCorpInput.Owner = this;
         formConsignCorpInput.ShowDialog();
     }
 }