Пример #1
0
        public MainWindow()
        {
            resetAuthCodeWindow = null;
            registerWindow      = null;

            //系统初始化组件函数
            InitializeComponent();
        }
Пример #2
0
        /// <summary>
        /// 忘记授权码面板的点击事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void panForget_MouseUp(object sender, MouseButtonEventArgs e)
        {
            //如果重置授权码窗口尚未实例化
            if (null == resetAuthCodeWindow)
            {
                //创建并构造重置授权码窗口
                resetAuthCodeWindow = new ResetAuthCodeWindow();
            }

            //显示重置授权码窗口
            resetAuthCodeWindow.Show();
        }