void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.IsBusyToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target)); return; case 2: this.TaskbarIsBusyToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target)); return; case 3: this.TaskbarProgressStateComboBox = ((System.Windows.Controls.ComboBox)(target)); return; case 4: this.TaskbarProgressValueDoubleUpDown = ((Framework.UI.Controls.DoubleUpDown)(target)); return; case 5: this.LoadingContent = ((Framework.UI.Controls.LoadingContent)(target)); return; case 6: this.RingLoadingContent = ((Framework.UI.Controls.LoadingContent)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.RE_MainWindow = ((RealEstate.MainWindow)(target)); #line 9 "..\..\MainWindow.xaml" this.RE_MainWindow.Loaded += new System.Windows.RoutedEventHandler(this.RE_MainWindow_Loaded); #line default #line hidden return; case 2: this.G_Loading = ((System.Windows.Controls.Grid)(target)); return; case 3: this.LC_Loading = ((Framework.UI.Controls.LoadingContent)(target)); return; case 4: this.G_LoginPanel = ((System.Windows.Controls.Grid)(target)); return; case 5: this.TB_Username = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.PB_Password = ((System.Windows.Controls.PasswordBox)(target)); return; case 7: this.BT_SignIn = ((System.Windows.Controls.Button)(target)); #line 49 "..\..\MainWindow.xaml" this.BT_SignIn.Click += new System.Windows.RoutedEventHandler(this.BT_SignIn_Click); #line default #line hidden return; case 8: this.G_ServerStatus = ((System.Windows.Controls.Grid)(target)); return; case 9: this.B_ServerStatus = ((System.Windows.Controls.Border)(target)); #line 63 "..\..\MainWindow.xaml" this.B_ServerStatus.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.B_ServerStatus_MouseDown); #line default #line hidden return; } this._contentLoaded = true; }
/// <summary> /// Called when the is loaded is changed. /// </summary> /// <param name="dependencyObject">The dependency object.</param> /// <param name="e">The <see cref="System.Windows.DependencyPropertyChangedEventArgs"/> instance containing the event data.</param> private static void OnIsLoadedChanged( DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) { LoadingContent loadingContent = (LoadingContent)dependencyObject; if (loadingContent.IsContentLoaded) { VisualStateManager.GoToState(loadingContent, LoadedState, true); } else { VisualStateManager.GoToState(loadingContent, UnloadedState, true); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.SplashScreen = ((System.Windows.Controls.Image)(target)); return; case 2: this.ActualContent = ((System.Windows.Controls.Label)(target)); return; case 3: this.Accordion = ((Framework.UI.Controls.Accordion)(target)); return; case 4: this.LabelVersion = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.LabelSizeUpdate = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.CheckBoxRequired = ((System.Windows.Controls.CheckBox)(target)); return; case 7: this.LabelRequiredVersion = ((System.Windows.Controls.TextBox)(target)); return; case 8: #line 168 "..\..\..\Windows\DeploymentWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HUB_changelog_click); #line default #line hidden return; case 9: #line 176 "..\..\..\Windows\DeploymentWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Version_changelog_click); #line default #line hidden return; case 10: this.loadingBarSplashScreen = ((Framework.UI.Controls.LoadingContent)(target)); return; case 11: this.LabelButton = ((System.Windows.Controls.Label)(target)); return; case 12: this.wrapPanel = ((Framework.UI.Controls.AnimatedWrapPanel)(target)); return; case 13: this.OkCommandButton = ((Elysium.Controls.CommandButton)(target)); #line 261 "..\..\..\Windows\DeploymentWindow.xaml" this.OkCommandButton.Click += new System.Windows.RoutedEventHandler(this.OkCommandButton_Click); #line default #line hidden return; case 14: this.CancelCommandButton = ((Elysium.Controls.CommandButton)(target)); #line 265 "..\..\..\Windows\DeploymentWindow.xaml" this.CancelCommandButton.Click += new System.Windows.RoutedEventHandler(this.CancelCommandButton_Click); #line default #line hidden return; case 15: this.CloseCommandButton = ((Elysium.Controls.CommandButton)(target)); #line 269 "..\..\..\Windows\DeploymentWindow.xaml" this.CloseCommandButton.Click += new System.Windows.RoutedEventHandler(this.CloseCommandButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.loadingBarSplashScreen = ((Framework.UI.Controls.LoadingContent)(target)); return; case 2: this.SplashScreen = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }