Exemplo n.º 1
0
 public static frmSplash GetRequest()
 {
     if (_Request == null || _Request.IsDisposed)
     {
         _Request = new frmSplash();
     }
     _Request.BringToFront();
     return(_Request);
 }
Exemplo n.º 2
0
        public frmMain()
        {
            frmSplash frm = frmSplash.GetRequest();

            frm.Show();
            frm.Visible = false;
            InitializeComponent();
            this.Font = new Font("Segoe UI", 8);
            this.Text = "Home Automation";
        }
Exemplo n.º 3
0
        public frmMain()
        {
            if (GlobalManager.Instance.Culture != null)
            {
                localizationManager.SetCulture(GlobalManager.Instance.Culture);
            }

            frmSplash frm = frmSplash.GetRequest();

            frm.Show();

            InitializeComponent();
            this.Font = new Font("Segoe UI", 8);
            this.Text = "Home Automation - " + GlobalManager.Instance.Name + " " + GlobalManager.Instance.Lastname;
        }