예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            DichChuyen list = new DichChuyen();

            panelMain.Controls.Clear();

            list.Dock = DockStyle.Fill;
            panelMain.Controls.Add(list);
            list.Show();
        }
예제 #2
0
        private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            DichChuyen list = new DichChuyen();

            panelMain.Controls.Clear();

            list.Dock = DockStyle.Fill;
            panelMain.Controls.Add(list);
            list.Show();
        }