private void gridNeeded_CellDoubleClick(object sender,ODGridClickEventArgs e) {
			FormSupplyNeededEdit FormS=new FormSupplyNeededEdit();
			FormS.Supp=listNeeded[e.Row];
			FormS.ShowDialog();
			if(FormS.DialogResult==DialogResult.OK) {
				FillGridNeeded();
			}
		}
Example #2
0
        private void gridNeeded_CellDoubleClick(object sender, ODGridClickEventArgs e)
        {
            FormSupplyNeededEdit FormS = new FormSupplyNeededEdit();

            FormS.Supp = listNeeded[e.Row];
            FormS.ShowDialog();
            if (FormS.DialogResult == DialogResult.OK)
            {
                FillGridNeeded();
            }
        }
		private void butAddNeeded_Click(object sender,EventArgs e) {
			SupplyNeeded supp=new SupplyNeeded();
			supp.IsNew=true;
			supp.DateAdded=DateTime.Today;
			FormSupplyNeededEdit FormS=new FormSupplyNeededEdit();
			FormS.Supp=supp;
			FormS.ShowDialog();
			if(FormS.DialogResult==DialogResult.OK){
				FillGridNeeded();
			}
		}
Example #4
0
        private void butAddNeeded_Click(object sender, EventArgs e)
        {
            SupplyNeeded supp = new SupplyNeeded();

            supp.IsNew     = true;
            supp.DateAdded = DateTime.Today;
            FormSupplyNeededEdit FormS = new FormSupplyNeededEdit();

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