Esempio n. 1
0
 private void stockController_Click(object sender, EventArgs e)
 {
     if (!frmMain.Instance.mainContainer.Controls.ContainsKey("ucStock"))
     {
         ucStock uc = new ucStock();
         uc.Dock = DockStyle.Fill;
         frmMain.Instance.mainContainer.Controls.Add(uc);
     }
     frmMain.Instance.BtnBack.Visible = true;
     frmMain.Instance.mainContainer.Controls["ucStock"].BringToFront();
 }
Esempio n. 2
0
 private void ucStock_Load(object sender, EventArgs e)
 {
     _instance = this;
     Actualiser();
 }