Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (beranda != null & masuk != null)
            {
                panelContainer.Controls.Remove(beranda);
                panelContainer.Controls.Remove(masuk);
                beranda.Close(); masuk.Close();
                beranda = null; masuk = null;
            }
            Form1Container container = new Form1Container();

            container.TopLevel = false;
            container.Size     = panelContainer.Size;
            panelContainer.Controls.Add(container);
            container.Show();
        }
Esempio n. 2
0
 public Form6Admin(Form1Container form1)
 {
     _form1 = form1;
 }