示例#1
0
        private void dobavqneToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddItems add = new AddItems();
            add.Show();
            Visible = false;

        }
 private void AddItemBtn_Click(object sender, EventArgs e)
 {
     ProductPicture.Image = ProductPicture.InitialImage;
     ProductNametxt.Clear();
     ProductIDtxt.Clear();
     DesignCodetxt.Clear();
     ColorTxt.ResetText();
     EmbroideryStatus.Refresh();
     AddItems.Show();
     AddItems.BringToFront();
     EditItem.TabStop       = false;
     ViewAccount.TabStop    = false;
     AccountSetting.TabStop = false;
     KameezaFabricTxt.Items.Clear();
     ShalwarFabricTxt.Items.Clear();
     DupattaFabricTxt.Items.Clear();
     ColorTxt.Items.Clear();
     Admin.ReadFabricInfo(ColorTxt, KameezaFabricTxt, ShalwarFabricTxt, DupattaFabricTxt);
 }
        private void button3_Click(object sender, EventArgs e)
        {
            AddItems addItems = new AddItems(this.DisplayData);

            addItems.Show();
        }