public LogonForm()
 {
     InitializeComponent();
     Connecting = false;
     Translations.Initialize();
     NavigationItem = NavigationItems.Logon;
 }
        public ErrorForm(bool error)
        {
            InitializeComponent();
            Translations.Initialize();

            NavigationItem = NavigationItems.Error;
            Title          = "Error";

            errorLabel.Text = error ? Translations.ErrorForm.UnknownError : Translations.ErrorForm.PageNotFound;
        }
 private void InitializeTranslations()
 {
     Translations.Initialize();
 }