Exemplo n.º 1
0
        private void newBtn_Click(object sender, EventArgs e)
        {
            EditOrganizationForm dlg = new EditOrganizationForm(null);

            if (dlg.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
            {
                ReloadOrgList(dlg.Organization);
            }
        }
Exemplo n.º 2
0
        private void editBtn_Click(object sender, EventArgs e)
        {
            Organization         o   = orgList.SelectedValue as Organization;
            EditOrganizationForm dlg = new EditOrganizationForm(o);

            if (dlg.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
            {
                ReloadOrgList(dlg.Organization);
            }
        }