Esempio n. 1
0
		private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			FormSupplierEdit FormS=new FormSupplierEdit();
			FormS.Supp=listSuppliers[e.Row];
			FormS.ShowDialog();
			if(FormS.DialogResult==DialogResult.OK) {
				FillGrid();
			}
		}
Esempio n. 2
0
		private void butAdd_Click(object sender,EventArgs e) {
			Supplier supp=new Supplier();
			supp.IsNew=true;
			FormSupplierEdit FormS=new FormSupplierEdit();
			FormS.Supp=supp;
			FormS.ShowDialog();
			if(FormS.DialogResult==DialogResult.OK) {
				FillGrid();
			}
		}
Esempio n. 3
0
        private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormSupplierEdit FormS = new FormSupplierEdit();

            FormS.Supp = listSuppliers[e.Row];
            FormS.ShowDialog();
            if (FormS.DialogResult == DialogResult.OK)
            {
                FillGrid();
            }
        }
Esempio n. 4
0
        private void butAdd_Click(object sender, EventArgs e)
        {
            Supplier supp = new Supplier();

            supp.IsNew = true;
            FormSupplierEdit FormS = new FormSupplierEdit();

            FormS.Supp = supp;
            FormS.ShowDialog();
            if (FormS.DialogResult == DialogResult.OK)
            {
                FillGrid();
            }
        }