コード例 #1
0
 public static ErrorCheck GetInstance()
 {
     if (errorCheck == null)
     {
         errorCheck = new ErrorCheck();
     }
     return(errorCheck);
 }
コード例 #2
0
 public SignUpControl(MainWindow mainWindow, LoginControl loginControl, DAO dao)
 {
     InitializeComponent();
     this.mainWindow   = mainWindow;
     this.loginControl = loginControl;
     this.dao          = dao;
     errorCheck        = ErrorCheck.GetInstance();
 }
コード例 #3
0
 public LoginControl(MainWindow mainWindow)
 {
     InitializeComponent();
     this.mainWindow    = mainWindow;
     dao                = new DAO();
     this.errorCheck    = ErrorCheck.GetInstance();
     mainWindow.Closed += MainWindow_Closed;
 }