Exemplo n.º 1
0
        private void FormMain_Load(object sender, EventArgs e)
        {
            if (Program.AccountType == "administrator")
            {
                adminControl.Location = new Point(959, 12);
                this.Controls.Add(adminControl);
            }

            Load_SelectPanel?.Invoke();

            foreach (Control c in this.Controls)
            {
                Console.WriteLine(c.ToString());
            }
        }
 private void buttonSelect_Click(object sender, EventArgs e)
 {
     Load_SelectPanel?.Invoke();
 }