Example #1
0
        private void btnView_Click(object sender, EventArgs e)
        {
            moveSidePanel(btnView);
            label4.Text = "View sales";
            SalesBookForm frm = new SalesBookForm()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            showpnl(frm);
            frm.Show();
        }
Example #2
0
        private void btnSale_Click(object sender, EventArgs e)
        {
            moveSidePanel(btnSold);
            label4.Text = "Sold Books";
            SalesBookForm frm2 = new SalesBookForm()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            showpnl(frm2);
            frm2.Show();
        }