Пример #1
0
        private void navBarItem4_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            panelControl1.Controls.Clear();
            frmAvailability frmRR = new frmAvailability()
            {
                TopLevel = false, FormBorderStyle = FormBorderStyle.None, Dock = DockStyle.Fill
            };

            panelControl1.Controls.Add(frmRR);
            frmRR.Show();
        }
Пример #2
0
        private void btnChart_ItemClick(object sender, ItemClickEventArgs e)
        {
            CommFun.DW1.Text = "Availability Chart";
            radPanel1.Controls.Clear();
            frmAvailability frmA = new frmAvailability();

            frmA.TopLevel        = false;
            frmA.FormBorderStyle = Alias.FormBorderStyle.None;
            frmA.Dock            = DockStyle.Fill;
            radPanel1.Controls.Add(frmA);
            frmA.Show();
        }
Пример #3
0
        private void btnAvail_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;
            panelControl1.Controls.Clear();
            frmAvailability frmRR = new frmAvailability()
            {
                TopLevel = false, FormBorderStyle = FormBorderStyle.None, Dock = DockStyle.Fill
            };

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