예제 #1
0
        private void AdminArea_Load(object sender, EventArgs e)
        {
            AddItems addItemsForm = new AddItems();

            addItemsForm.TopLevel = false;
            tabPage1.Controls.Add(addItemsForm);
            addItemsForm.FormBorderStyle = FormBorderStyle.None;
            addItemsForm.Dock            = DockStyle.Fill;
            addItemsForm.Show();

            WordMgt wMgt = new WordMgt();

            wMgt.TopLevel = false;
            tabPage2.Controls.Add(wMgt);
            wMgt.FormBorderStyle = FormBorderStyle.None;
            wMgt.Dock            = DockStyle.Fill;
            wMgt.Show();
        }
예제 #2
0
        private void ManageWord_Click(object sender, EventArgs e)
        {
            WordMgt wordManager = new WordMgt();

            wordManager.Show();
        }