Beispiel #1
0
        private void tileItem2_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e)
        {
            this.panel2.Controls.Clear();
            frmDiem dk = new frmDiem();

            dk.TopLevel = false;
            this.panel2.Controls.Add(dk);
            dk.Show();
            this.Dock = System.Windows.Forms.DockStyle.Fill;
        }
Beispiel #2
0
        private void btnXemDiem_Click(object sender, EventArgs e)
        {
            panel2.Visible = false;
            this.panel2.Controls.Clear();
            frmDiem dk = new frmDiem(lblMGV.Text);

            dk.TopLevel = false;
            this.panel2.Controls.Add(dk);
            dk.Show();
            bunifuTransition1.Show(panel2);
            this.Dock = System.Windows.Forms.DockStyle.Fill;
        }