Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
 public GoodEditForm(GoodsListForm instance, int Id)
     : this(instance)
 {
     this.Id = Id;
     addDataForUpdate();
 }
Ejemplo n.º 3
0
        private void buttonGoodsList_Click(object sender, EventArgs e)
        {
            GoodsListForm f = new GoodsListForm();

            f.ShowDialog();
        }