Пример #1
0
        private void butAdd_Click(object sender, System.EventArgs e)
        {
            AnesthMedSupplier supplCur = new AnesthMedSupplier();

            supplCur.IsNew = true;
            FormAnesthMedSuppliersEdit FormME = new FormAnesthMedSuppliersEdit();

            FormME.SupplCur = supplCur;
            FormME.ShowDialog();
            if (FormME.DialogResult == DialogResult.OK)
            {
                FillGrid();
            }
        }
Пример #2
0
		private void butAdd_Click(object sender,System.EventArgs e) {

			AnesthMedSupplier supplCur = new AnesthMedSupplier();
			supplCur.IsNew=true;
			FormAnesthMedSuppliersEdit FormME=new FormAnesthMedSuppliersEdit();
			FormME.SupplCur = supplCur;
			FormME.ShowDialog();
			if(FormME.DialogResult == DialogResult.OK) {
				FillGrid();
			}

		}