Beispiel #1
0
        private void navBarItem1_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            XtraTabPage newPage = new XtraTabPage();

            newPage.Text = "";
            Frchuku form1 = new Frchuku();

            form1.TopLevel = false;
            newPage.Controls.Add(form1);
            form1.Show();
            form1.Dock = DockStyle.Fill;
            xtraTabControl1.TabPages.Add(newPage);
            xtraTabControl1.SelectedTabPage = newPage;
        }
Beispiel #2
0
        private void tileItem1_ItemClick(object sender, TileItemEventArgs e)
        {
            Frchuku form1 = new Frchuku();

            form1.Show();
        }