private void buttonOK_Click(object sender, EventArgs e) { this.tableAdapterManager.ISPDnOperatorTableAdapter.Update(this.iSPDnBDDataSet); FormISPDnAdd frmispdn = (FormISPDnAdd)this.Owner; frmispdn.ComboISPDnMethod(ClassGlobalVar.OrgID); frmispdn.MethodISPDnDataSetUpdate(); FormISPDnAll.ActiveForm.Close(); }
private void buttonPravoAdd_Click(object sender, EventArgs e) { this.tableAdapterManager.PravoOrgTableAdapter.Update(this.iSPDnBDDataSet); try { FormISPDnAdd frmispdn = (FormISPDnAdd)this.Owner; frmispdn.MethodPravoSelectTrue(true); } catch { FormOtdelAdd frmotdel = (FormOtdelAdd)this.Owner; frmotdel.MethodPravoSelectTrue(true); } FormCeliAdd.ActiveForm.Close(); }
private void buttonRabotnikiAddExit_Click(object sender, EventArgs e) { this.tableAdapterManager.RabotnikiOrgTableAdapter.Update(this.iSPDnBDDataSet); try { FormISPDnAdd frmispdn = (FormISPDnAdd)this.Owner; frmispdn.MethodRabotnikiSelect(); } catch { FormOtdelAdd frmotdel = (FormOtdelAdd)this.Owner; frmotdel.MethodRabotnikiSelect(); } FormRabotnikiPDAdd.ActiveForm.Close(); }
private void buttonCeliAdd_Click(object sender, EventArgs e) { this.tableAdapterManager.CeliObrabotkiPDTableAdapter.Update(this.iSPDnBDDataSet); try { FormISPDnAdd frmispdn = (FormISPDnAdd)this.Owner; frmispdn.MethodCeliSelect(); } catch { FormOtdelAdd frmotdel = (FormOtdelAdd)this.Owner; frmotdel.MethodCeliSelect(); } FormCeliAdd.ActiveForm.Close(); }
private void buttonKategoryDopPDAddP_Click(object sender, EventArgs e) { this.tableAdapterManager.KategoryPdDopTableAdapter.Update(this.iSPDnBDDataSet); try { FormISPDnAdd frmKategoryPDDop = (FormISPDnAdd)this.Owner; frmKategoryPDDop.MethodKategoryDopSelect(); } catch { FormOtdelAdd frmKategoryDop = (FormOtdelAdd)this.Owner; frmKategoryDop.MethodKategoryDopSelect(); } FormKategoryDopPDAdd.ActiveForm.Close(); }
private void buttonSubjectPDAddExit_Click(object sender, EventArgs e) { this.tableAdapterManager.KategorySubjTableAdapter.Update(this.iSPDnBDDataSet); try { FormISPDnAdd frmispdn = (FormISPDnAdd)this.Owner; frmispdn.MethodSubjectSelect(); } catch { FormOtdelAdd frmotdel = (FormOtdelAdd)this.Owner; frmotdel.MethodSubjectSelect(); } FormSubjectPDAdd.ActiveForm.Close(); }
private void buttonBioAdd_Click(object sender, EventArgs e) { this.tableAdapterManager.KategoryPdBioTableAdapter.Update(this.iSPDnBDDataSet); try { FormISPDnAdd frmispdn = (FormISPDnAdd)this.Owner; frmispdn.MethodKategoryBioSelectTrue(); } catch { FormOtdelAdd frmotdel = (FormOtdelAdd)this.Owner; frmotdel.MethodKategoryBioSelectTrue(); } FormBioAdd.ActiveForm.Close(); }