Beispiel #1
0
        /*  private void btnorder_Click(object sender, EventArgs e)
         * {
         *    moveSlidePanel(btnorder);
         *    UC_Order uo = new UC_Order();
         *    AddControlPanel(uo);
         * }
         */

        private void btnbill_Click(object sender, EventArgs e)
        {
            moveSlidePanel(btnbill);
            UC_Sales uc = new UC_Sales();

            AddControlPanel(uc);
        }
        /// <summary>
        /// Sends the user to the Sale Books panel.
        /// </summary>
        /// <param name="sender">Contains a reference to the control that raised the event.</param>
        /// <param name="e">Contains the event data.</param>
        private void btnSaleBooks_Click(object sender, EventArgs e)
        {
            moveSidePanel(btnSaleBooks);
            UC_Sales ucs = new UC_Sales();

            AddControlsToPanel(ucs);
        }
        private void SalebooksButton_Click(object sender, EventArgs e)
        {
            MoveSidePanel(salebooksButton);
            UC_Sales uC_Sales = new UC_Sales();

            AddControlsPanel(uC_Sales);
        }
Beispiel #4
0
        private void btnSaleBooks_Click(object sender, EventArgs e)
        {
            moveSlidpanel(btnSaleBooks);
            UC_Sales ss = new UC_Sales();

            Addcontrolstopanel(ss);
        }
Beispiel #5
0
        private void btnSales_Click(object sender, EventArgs e)
        {
            UC_Sales uch = new UC_Sales(userID);

            addControlToPanel(uch);
        }