Exemple #1
0
        public static AccountForm Instance()
        {
            if (accountForm == null)
            {
                accountForm = new AccountForm();
            }

            return(accountForm);
        }
Exemple #2
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (components != null)
                {
                    components.Dispose();
                }
            }

            base.Dispose(disposing);
            accountForm = null;
        }