Exemplo n.º 1
0
        private void navBarItem12_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            panelControl1.Controls.Clear();
            frmStagewiseReceivable frmRecv = new frmStagewiseReceivable()
            {
                TopLevel = false, FormBorderStyle = FormBorderStyle.None, Dock = DockStyle.Fill
            };

            panelControl1.Controls.Add(frmRecv);
            frmRecv.Show();
        }
Exemplo n.º 2
0
        private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            panelControl1.Controls.Clear();
            frmStagewiseReceivable frmRecv = new frmStagewiseReceivable()
            {
                TopLevel = false, FormBorderStyle = FormBorderStyle.None, Dock = DockStyle.Fill
            };

            panelControl1.Controls.Add(frmRecv);
            frmRecv.Show();
            Cursor.Current = Cursors.Default;
        }