Example #1
0
        private void btnSanPham_ItemClick(object sender, ItemClickEventArgs e)
        {
            /* Display SanPham form in tabbed */
            Form sp = CheckForm(typeof(FrmXe));

            if (sp != null)
            {
                sp.Activate();
            }
            else
            {
                var form = new FrmXe {
                    MdiParent = this
                };
                form.Show();
            }
        }
 public FrmThemXe(FrmXe sp)
 {
     InitializeComponent();
     this.sp = sp;
 }