Example #1
0
        private void navBarItem13_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            panelControl1.Controls.Clear();
            frmReceivable frmAge = new frmReceivable()
            {
                TopLevel = false, FormBorderStyle = FormBorderStyle.None, Dock = DockStyle.Fill
            };

            panelControl1.Controls.Add(frmAge);
            frmAge.Show();
        }
Example #2
0
        private void btnAge_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            panelControl1.Controls.Clear();
            frmReceivable frmAge = new frmReceivable()
            {
                TopLevel = false, FormBorderStyle = FormBorderStyle.None, Dock = DockStyle.Fill
            };

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