コード例 #1
0
ファイル: RFQ_MainScreen.cs プロジェクト: kleitz/REIC-POMS
        //---------------------------
        // CUSTOMER NAVBAR METHODS  |
        //---------------------------
        private void btnCustomers_Click(object sender, EventArgs e)
        {
            Customer_MainScreen customerMain = new Customer_MainScreen();

            this.Hide();
            customerMain.ShowDialog();
            this.Close();
        }
コード例 #2
0
ファイル: PO_MainScreen.cs プロジェクト: kleitz/REIC-POMS
        //---------------------------
        // CUSTOMER NAVBAR METHODS  |
        //---------------------------
        private void btnCustomers_Click(object sender, EventArgs e)
        {
            Customer_MainScreen customerMain = new Customer_MainScreen();

            this.Hide();  //Added to actually close the Main Screen instead of it being open in the background
            customerMain.ShowDialog();
            this.Close(); //Closes the Items Main Screen
        }