切换账号按钮事件代码:

         if (DialogResult.Yes == MessageBox.Show("您确定要切换账号吗?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question))
                {
                    System.Diagnostics.Process.Start(System.Reflection.Assembly.GetExecutingAssembly().Location);
                    Process.GetCurrentProcess().Kill();
                }

 

相关文章:

  • 2022-12-23
  • 2022-02-07
  • 2021-11-20
  • 2021-07-23
  • 2021-05-31
  • 2022-02-07
  • 2021-10-03
猜你喜欢
  • 2021-11-06
  • 2021-11-22
  • 2022-02-07
  • 2022-12-23
  • 2021-09-03
  • 2021-10-18
  • 2021-07-11
相关资源
相似解决方案