コード例 #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();
        }
コード例 #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;
        }