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

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

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