Пример #1
0
        //public CamHelper CamHelper = new CamHelper();
        // public SoundHelper SoundHelper = new SoundHelper();
        public static AppGlobalContext GetInstance()
        {
            if (_formFactory == null)
            {
                lock (typeof(AppGlobalContext))
                {
                    if (_formFactory == null)
                    {
                        _formFactory = new AppGlobalContext();

                    }
                }
            }
            return (AppGlobalContext)_formFactory;
        }
Пример #2
0
 public AdminForm(FormFactory currentFormFactory)
     : base(currentFormFactory)
 {
     InitForm(null);
 }
Пример #3
0
 public AdminForm(FormFactory currentFormFactory, FormMessage someMessage)
     : base(currentFormFactory)
 {
     InitForm(someMessage);
 }
Пример #4
0
 public MainForm(FormFactory currentFormFactory, FormMessage formMessage)
 {
     InitThisForm();
 }
Пример #5
0
 public MainForm(FormFactory currentFormFactory)
     : base(currentFormFactory)
 {
     InitThisForm();
 }
Пример #6
0
 public LoginForm(FormFactory currentFormFactory, FormMessage formMessage)
     : base(currentFormFactory)
 {
     InitThisForm(formMessage);
 }
Пример #7
0
 public LoginForm(FormFactory currentFormFactory)
     : base(currentFormFactory)
 {
     InitThisForm(null);
 }
Пример #8
0
 public BaseForm(FormFactory currentFormFactory)
 {
     CheckForIllegalCrossThreadCalls = false;
     CurrentFormFactory = currentFormFactory;
     CurrentFormFactory.RegisterForm(this);
 }
Пример #9
0
 public AlertForm(FormFactory currentFormFactory, FormMessage someMessage)
     : base(currentFormFactory)
 {
     InitThisForm(someMessage);
 }
Пример #10
0
 public WarningForm(FormFactory currentFormFactory)
     : base(currentFormFactory)
 {
     InitThisForm(null);
 }