예제 #1
0
        private void btbDistributor_Mng_Click(object sender, EventArgs e)
        {
            UCDistributor ucDistributor = new UCDistributor();

            if (getFlagUserControl(FLAG_DISTRIBUTOR) == USER_ON)
            {
                frmChinh.Activate();
                return;
            }
            FLAG_DISTRIBUTOR = USER_ON;
            LoadUser(ucDistributor);
        }
예제 #2
0
        private void btloainguyenlieu_Click(object sender, EventArgs e)
        {
            UCDistributor ucloaingl = new UCDistributor();

            if (getFlagUserControl(FLAG_LOAI_NGUYEN_LIEU) == USER_ON)
            {
                frmChinh.Activate();
                return;
            }
            FLAG_LOAI_NGUYEN_LIEU = USER_ON;
            LoadUser(ucloaingl);
        }