コード例 #1
0
        private void BtnLogIn_Click(object sender, EventArgs e)
        {
            MMCodeHelper CodeHelper = new MMCodeHelper("LOGIN");

            CodeHelper.ShowDialog();
            Program.CurrentUser = CodeHelper.ReturnCodeValue;
            //2019-05-14 황지희 사용자 이름으로 보여주게 변경
            lblCrrUser.Text = CommonFuction.GetUserName(Program.CurrentUser);
        }
コード例 #2
0
 protected override void OnLoad(EventArgs e)
 {
     base.OnLoad(e);
     SetEvent();
     System.Configuration.AppSettingsReader temp = new System.Configuration.AppSettingsReader();
     lblCrrUser.Text = CommonFuction.GetUserName(Program.CurrentUser);
     if (string.IsNullOrEmpty(Program.CurrentUser))
     {
         BtnLogIn_Click(null, null);
     }
     mMManagedReportControl = new MMManagedReportControl();
     MMManagedReportTabPage.Controls.Add(mMManagedReportControl);
     ResetRackStatus(true);
 }