/// <summary> /// Initializes the <see cref="Application.RootVisual"/> property. The /// initial UI will be displayed before the LoadUser operation has completed /// (The LoadUser operation will cause user to be logged automatically if /// using windows authentication or if the user had selected the "keep /// me signed in" option on a previous login). /// </summary> protected virtual void InitializeRootVisual() { this.busyIndicator = new SPVN.App.Controls.BusyIndicator(); this.busyIndicator.Content = new MainPage(); this.busyIndicator.HorizontalContentAlignment = HorizontalAlignment.Stretch; this.busyIndicator.VerticalContentAlignment = VerticalAlignment.Stretch; this.RootVisual = this.busyIndicator; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SPVN.App;component/Views/Login/LoginForm.xaml", System.UriKind.Relative)); this.busyIndicator = ((SPVN.App.Controls.BusyIndicator)(this.FindName("busyIndicator"))); this.loginForm = ((SPVN.App.Controls.CustomDataForm)(this.FindName("loginForm"))); this.loginButton = ((System.Windows.Controls.Button)(this.FindName("loginButton"))); this.loginCancel = ((System.Windows.Controls.Button)(this.FindName("loginCancel"))); this.registerNow = ((System.Windows.Controls.HyperlinkButton)(this.FindName("registerNow"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SPVN.App;component/Views/Login/RegistrationForm.xaml", System.UriKind.Relative)); this.busyIndicator = ((SPVN.App.Controls.BusyIndicator)(this.FindName("busyIndicator"))); this.txtNombreUsuario1 = ((System.Windows.Controls.TextBox)(this.FindName("txtNombreUsuario1"))); this.txtNombreUsuario = ((System.Windows.Controls.TextBox)(this.FindName("txtNombreUsuario"))); this.txtApePat = ((System.Windows.Controls.TextBox)(this.FindName("txtApePat"))); this.txtApeMat = ((System.Windows.Controls.TextBox)(this.FindName("txtApeMat"))); this.txtCorreo = ((System.Windows.Controls.TextBox)(this.FindName("txtCorreo"))); this.txtContraseña = ((System.Windows.Controls.PasswordBox)(this.FindName("txtContraseña"))); this.cmbPaises = ((System.Windows.Controls.ComboBox)(this.FindName("cmbPaises"))); this.stackPanel = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel"))); this.registerButton = ((System.Windows.Controls.Button)(this.FindName("registerButton"))); this.registerCancel = ((System.Windows.Controls.Button)(this.FindName("registerCancel"))); this.backToLogin = ((System.Windows.Controls.HyperlinkButton)(this.FindName("backToLogin"))); }