public MainWindow()
        {
            WindowStyle          = WindowStyle.ToolWindow;
            ShowMinButton        = false;
            ShowMaxRestoreButton = false;
            SetResourceReference(MetroWindow.GlowBrushProperty, "AccentColorBrush");
            ResizeMode = ResizeMode.CanResizeWithGrip;
            LogingViewModel.principalwindow = this;
            InitializeComponent();
            Hide();
            string title = "Premium Web Server";
            string text  = "Premium Web Server Esta Activo";

            MyTask.ShowBalloonTip(title, text, BalloonIcon.Info);
            LogingViewModel.LoaderImagen = imgLoader;
            if (Properties.Settings.Default.State == 1)
            {
                LoginModel.MaintenedLoged();
                ConfigViewModel.MaintainedDbConnect();
            }
        }