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