Exemplo n.º 1
0
        private void toolAdd_Click(object sender, EventArgs e)
        {
            FormConsignCorpInput formConsignCorpInput = new FormConsignCorpInput();

            formConsignCorpInput.Tag   = "Add";
            formConsignCorpInput.Owner = this;
            formConsignCorpInput.ShowDialog();
        }
Exemplo n.º 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();
     }
 }