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

            panelControl1.Controls.Add(frmRecv);
            frmRecv.Show();
            Cursor.Current = Cursors.Default;
        }
Exemple #2
0
        private void btnMISSWRecv_ItemClick(object sender, ItemClickEventArgs e)
        {
            dwHome.Hide();
            documentWindow1.Hide();
            dwHome.Text = "MIS Stagewise Receivable";
            frmMISStagewiseReceivable frm = new frmMISStagewiseReceivable()
            {
                TopLevel = false
            };

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