Exemple #1
0
        public AccountDataBase()
        {
            if (dataBaseInstance != null)
            {
                return;
            }
            dataBaseInstance = this;

            //  currentLogin = LogIn.logInInstance;
        }
        public LogIn()
        {
            if (logInInstance != null)
            {
                return;
            }

            logInInstance = this;

            newAccountdatabase = AccountDataBase.dataBaseInstance;
            InitializeComponent();
        }
Exemple #3
0
        public CreateAccount()
        {
            if (createAccountInstance != null)
            {
                return;
            }
            createAccountInstance = this;

            newDataBase  = new AccountDataBase();
            currentLogin = new LogIn();
            InitializeComponent();
        }