//hiennv
        private void btnCheckIn_Group_0_Click(object sender, EventArgs e)
        {
            //frmTsk_CheckIn_Group_Step1 afrm = new frmTsk_CheckIn_Group_Step1(this.afrmMain, this.Datasource.Code);
            //afrm.ShowDialog();
            //this.Parent.Dispose();

            frmTsk_CheckIn afrmTsk_CheckIn = new frmTsk_CheckIn(this.afrmMain, this.Datasource.Code,2);
            afrmTsk_CheckIn.ShowDialog();
            this.Parent.Dispose();
        }
Ejemplo n.º 2
0
        private void btnCheckIn_Type3_ItemClick(object sender, ItemClickEventArgs e)
        {
            try
            {
                frmTsk_CheckIn afrmTsk_CheckIn = new frmTsk_CheckIn(this, 3);
                afrmTsk_CheckIn.Show();
                //frmTsk_CheckIn_Customer_Step1 afrmTsk_CheckIn_Customer_Step1 = new frmTsk_CheckIn_Customer_Step1(this);
                //afrmTsk_CheckIn_Customer_Step1.Show();

            }
            catch (Exception ex)
            {
                MessageBox.Show("frmMain.btnCheckIn_Type3_ItemClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }