public GoodEditForm(GoodsListForm instance) { this.instance = instance; InitializeComponent(); query = new QueryProducts(); this.Text = Properties.Resources.Good; label2.Text = Properties.Resources.Title; label3.Text = Properties.Resources.VendorCode; label4.Text = Properties.Resources.Description; label5.Text = Properties.Resources.Color; buttonCancel.Text = Properties.Resources.Cancel; buttonOK.Text = Properties.Resources.OK; }
public GoodEditForm(GoodsListForm instance, int Id) : this(instance) { this.Id = Id; addDataForUpdate(); }
private void buttonGoodsList_Click(object sender, EventArgs e) { GoodsListForm f = new GoodsListForm(); f.ShowDialog(); }