protected override void SelectObject(object sender, System.EventArgs e) { this.form = new OrgBenefitForm(this.SelectedBenefit, new BenefitHandler(this.Selected)); this.form.IsChild = true; this.form.ShowDialog(this); }
private void льготыToolStripMenuItem_Click(object sender, System.EventArgs e) { OrgBenefitForm form = new OrgBenefitForm(); Manager.OrgBenefitForm = form; form.Show(this); }