void CheckLogin() { if (!RandCodeCookieHelper.CheckUserLogin(CookieStoreInstance.CurrentCookie)) { Login12306 login = new Login12306(); login.ShowDialog(); } }
protected void btn_12306Click(object sender, RoutedEventArgs e) { Login12306 login = new Login12306(); login.ShowDialog(); }