Example #1
0
        public MainMenu2()
        {
            InitializeComponent();
            this.WindowState = FormWindowState.Maximized;

            LoginForm = new Login();

            ViewUserForm           = new ViewUser(this);
            ViewUserForm.MdiParent = this;

            LoginForm           = new Login(this);
            LoginForm.MdiParent = this;

            AddUserForm           = new AddUser(this);
            AddUserForm.MdiParent = this;

            TextMsgForm           = new TextMessage(this);
            TextMsgForm.MdiParent = this;

            EmailForm           = new Email(this);
            EmailForm.MdiParent = this;

            UndelForm           = new Undelete(this);
            UndelForm.MdiParent = this;

            SearchForm           = new Search(this);
            SearchForm.MdiParent = this;

            FeeForm           = new Fees(this);
            FeeForm.MdiParent = this;

            NPOForm           = new NewPurchaseOrder(this);
            NPOForm.MdiParent = this;

            POHForm           = new Purchase_Order_History(this);
            POHForm.MdiParent = this;

            ChkInForm           = new CheckIn(this);
            ChkInForm.MdiParent = this;

            ChkOutForm           = new CheckOut(this);
            ChkOutForm.MdiParent = this;

            VVForm           = new ViewVendor(this);
            VVForm.MdiParent = this;

            AVForm           = new AddVendor(this);
            AVForm.MdiParent = this;

            LoginForm.Show();
        }
Example #2
0
        private void viewVendorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ViewVendor vv = new ViewVendor();

            vv.Show();
        }