Ejemplo n.º 1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            btnBack.Visible = false;
            _obj            = this;

            SheetListUC uc = new SheetListUC();

            uc.Dock = DockStyle.Fill;
            panelContainer.Controls.Add(uc);
        }
Ejemplo n.º 2
0
 private void lollipopButton1_Click_1(object sender, EventArgs e)
 {
     if (!Dashboard.Instance.PnlContainer.Controls.ContainsKey("SheetListUC"))
     {
         SheetListUC un = new SheetListUC();
         un.Dock = DockStyle.Fill;
         Dashboard.Instance.PnlContainer.Controls.Add(un);
     }
     Dashboard.Instance.PnlContainer.Controls["SheetListUC"].BringToFront();
     Dashboard.Instance.BackButton.Visible = false;
 }
Ejemplo n.º 3
0
        private void button1_Click(object sender, EventArgs e)
        {
            panelContainer.Controls.Clear();
            panel3.Height = button1.Height;
            panel3.Top    = button1.Top;
            panel4.Height = button1.Height;
            panel4.Top    = button1.Top;

            SheetListUC uc = new SheetListUC();

            uc.Dock = DockStyle.Fill;
            panelContainer.Controls.Add(uc);
            Dashboard.Instance.PnlContainer.Controls["SheetListUC"].BringToFront();
            uc.Show();
            btnBack.Visible = false;
        }