Exemplo n.º 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;
        }
Exemplo n.º 2
0
 public AdminForm(FormFactory currentFormFactory)
     : base(currentFormFactory)
 {
     InitForm(null);
 }
Exemplo n.º 3
0
 public AdminForm(FormFactory currentFormFactory, FormMessage someMessage)
     : base(currentFormFactory)
 {
     InitForm(someMessage);
 }
Exemplo n.º 4
0
 public MainForm(FormFactory currentFormFactory, FormMessage formMessage)
 {
     InitThisForm();
 }
Exemplo n.º 5
0
 public MainForm(FormFactory currentFormFactory)
     : base(currentFormFactory)
 {
     InitThisForm();
 }
Exemplo n.º 6
0
 public LoginForm(FormFactory currentFormFactory, FormMessage formMessage)
     : base(currentFormFactory)
 {
     InitThisForm(formMessage);
 }
Exemplo n.º 7
0
 public LoginForm(FormFactory currentFormFactory)
     : base(currentFormFactory)
 {
     InitThisForm(null);
 }
Exemplo n.º 8
0
 public BaseForm(FormFactory currentFormFactory)
 {
     CheckForIllegalCrossThreadCalls = false;
     CurrentFormFactory = currentFormFactory;
     CurrentFormFactory.RegisterForm(this);
 }
Exemplo n.º 9
0
 public AlertForm(FormFactory currentFormFactory, FormMessage someMessage)
     : base(currentFormFactory)
 {
     InitThisForm(someMessage);
 }
Exemplo n.º 10
0
 public WarningForm(FormFactory currentFormFactory)
     : base(currentFormFactory)
 {
     InitThisForm(null);
 }