Example #1
0
        private void btnSales_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            panelControl1.Controls.Clear();
            frmMISProjectSales frmPS = new frmMISProjectSales()
            {
                TopLevel = false, FormBorderStyle = FormBorderStyle.None, Dock = DockStyle.Fill
            };

            panelControl1.Controls.Add(frmPS);
            frmPS.Show();
            Cursor.Current = Cursors.Default;
        }
Example #2
0
        private void btnMISPWSales_ItemClick(object sender, ItemClickEventArgs e)
        {
            dwHome.Hide();
            documentWindow1.Hide();
            dwHome.Text = "MIS Projectwise Sales";
            frmMISProjectSales frm = new frmMISProjectSales()
            {
                TopLevel = false
            };

            radPanel1.Controls.Clear();
            frm.FormBorderStyle = Alias.FormBorderStyle.None;
            frm.Dock            = DockStyle.Fill;
            radPanel1.Controls.Add(frm);
            frm.Show();
            dwHome.Show();
        }