Example #1
0
        private void btnAddMembers_Click(object sender, EventArgs e)
        {
            this.panel_Members.Controls.Clear();
            AddMembers add_Members = new AddMembers()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            add_Members.FormBorderStyle = FormBorderStyle.None;
            this.panel_Members.Controls.Add(add_Members);
            add_Members.Show();
            btnAddMembers.BackColor = Color.FromArgb(24, 30, 54);
        }
Example #2
0
        public Members()
        {
            InitializeComponent();
            btnAddMembers.BackColor = Color.FromArgb(24, 30, 54);
            this.panel_Members.Controls.Clear();
            AddMembers add_Members = new AddMembers()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            add_Members.FormBorderStyle = FormBorderStyle.None;
            this.panel_Members.Controls.Add(add_Members);
            add_Members.Show();
        }