Exemplo n.º 1
0
        private void tsbtnOrgAdd_Click(object sender, EventArgs e)
        {
            OrgAddEditForm add = new OrgAddEditForm();

            if (add.ShowDialog() == DialogResult.OK)
            {
                Refresh_OrganizationsDataGridView();
            }
        }
Exemplo n.º 2
0
        private void btnEditInfo_Click(object sender, EventArgs e)
        {
            OrgAddEditForm edit = new OrgAddEditForm(idOO);

            if (edit.ShowDialog() == DialogResult.OK)
            {
                orgMore = new OrgMore(int.Parse(edit.tbOOCode.Text));
                OrgMoreForm_Load(sender, e);
            }
        }
Exemplo n.º 3
0
 private void tsbtnOrgEdit_Click(object sender, EventArgs e)
 {
     if (dgvOrg.SelectedRows.Count > 0)
     {
         int            idOO = int.Parse(dgvOrg.SelectedRows[0].Cells[3].Value.ToString());
         OrgAddEditForm edit = new OrgAddEditForm(idOO);
         if (edit.ShowDialog() == DialogResult.OK)
         {
             Refresh_OrganizationsDataGridView();
         }
     }
 }