public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/StudBusApp;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 = ((StudBusApp.LoginUI.LoginForm)(this.FindName("loginForm"))); this.registrationForm = ((StudBusApp.LoginUI.RegistrationForm)(this.FindName("registrationForm"))); }