コード例 #1
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormAnesthMedSuppliersEdit FormME = new FormAnesthMedSuppliersEdit();

            FormME.SupplCur = AnesthMedSupplierC.Listt[e.Row];
            FormME.ShowDialog();
            AnesthMedSuppliers.RefreshCache();
            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();
            }
        }
コード例 #3
0
ファイル: FormAnesthMedSuppliers.cs プロジェクト: mnisl/OD
		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {

			FormAnesthMedSuppliersEdit FormME=new FormAnesthMedSuppliersEdit();
			FormME.SupplCur=AnesthMedSupplierC.Listt[e.Row];
			FormME.ShowDialog();
			AnesthMedSuppliers.RefreshCache();
			FillGrid();

		}
コード例 #4
0
ファイル: FormAnesthMedSuppliers.cs プロジェクト: mnisl/OD
		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();
			}

		}