예제 #1
0
        private bool checkLogIn()
        {
            if (mc.para.ETC.passwordProtect.value == 0)
            {
                return(true);
            }
            if (mc.user.logInDone)
            {
                return(true);
            }

            FormLogIn ff = new FormLogIn();

            ff.ShowDialog();

            if (FormLogIn.logInCheck)
            {
                return(true);
            }

            return(false);
        }
예제 #2
0
        private void ModeChangeClick(object sender, EventArgs e)
        {
            if (mc.para.ETC.passwordProtect.value == 1)
            {
                if (mc.user.logInDone == false)
                {
                    FormLogIn ff = new FormLogIn();
                    ff.ShowDialog();

                    if (FormLogIn.logInCheck == false)
                    {
                        RB_AutoMode.Checked = true;
                        return;
                    }
                }
            }
            else
            {
                //RB_AutoMode.Checked = true;
                ;
            }
        }