Ejemplo n.º 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);
        }
Ejemplo n.º 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();
        }