public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/KNBManagement;component/Views/Login/LoginRegistrationWindow.xaml", System.UriKind.Relative));
     this.childWindow      = ((System.Windows.Controls.ChildWindow)(this.FindName("childWindow")));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.loginForm        = ((KNBManagement.LoginUI.LoginForm)(this.FindName("loginForm")));
     this.registrationForm = ((KNBManagement.LoginUI.RegistrationForm)(this.FindName("registrationForm")));
 }