Пример #1
0
 /// <summary> 修改个人密码
 /// </summary>
 private void llblPersionSet_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     try
     {
         frmPersionSet frm = new frmPersionSet();
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         GlobalStaticObj_Server.GlobalLogService.WriteLog("UCHomePage", ex);
         MessageBoxEx.ShowWarning("程序异常");
     }
 }
Пример #2
0
 /// <summary> 修改个人密码
 /// </summary>
 private void llblPersionSet_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     try
     {
         frmPersionSet frm = new frmPersionSet();
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         GlobalStaticObj_Server.GlobalLogService.WriteLog("UCHomePage", ex);
         MessageBoxEx.ShowWarning("程序异常");
     }
 }
Пример #3
0
        /// <summary> 修改个人密码
        /// </summary>
        private void llblPersionSet_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            frmPersionSet frm = new frmPersionSet();

            frm.ShowDialog();
        }
Пример #4
0
 /// <summary> 重置密码
 /// </summary>
 private void tSMenuItem_PWDReSet_Click(object sender, EventArgs e)
 {
     try
     {
         //string msg = string.Format("将要重置当前用户{0}({1})密码),\r\n是否继续?", GlobalStaticObj_Server.Instance.UserName, GlobalStaticObj_Server.Instance.LoginName);
         //DialogResult result = MessageBoxEx.Show(msg, "系统提示", MessageBoxButtons.YesNo);
         //if (result == DialogResult.Yes)
         //{
         //    Dictionary<string, string> dicFields = new Dictionary<string, string>();
         //    dicFields.Add("password", "123456");
         //    bool flag = DBHelper.Submit_AddOrEdit("重置密码", GlobalStaticObj_Server.DbPrefix + GlobalStaticObj_Server.CommAccCode, "sys_user", "land_name", GlobalStaticObj_Server.Instance.LoginName, dicFields);
         //    if (flag)
         //    {
         //        MessageBoxEx.Show("重置成功", "系统提示");
         //        return;
         //    }
         //    MessageBoxEx.Show("重置成功失败", "系统提示");
         //}
         HXCServerWinForm.UCForm.frmPersionSet frm = new HXCServerWinForm.UCForm.frmPersionSet();
         frm.Text = "修改密码";
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         GlobalStaticObj_Server.GlobalLogService.WriteLog("MainForm", ex);
         MessageBoxEx.ShowWarning("程序异常");
     }
 }
Пример #5
0
 /// <summary> 修改个人密码
 /// </summary>
 private void llblPersionSet_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     frmPersionSet frm = new frmPersionSet();
     frm.ShowDialog();
 }