Beispiel #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MaskList = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 2:
     this.ListBoxServers = ((System.Windows.Controls.ListBox)(target));
     
     #line 34 "..\..\..\Windows\LoginWindow.xaml"
     this.ListBoxServers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBoxServers_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.DeleteButton = ((System.Windows.Controls.Button)(target));
     
     #line 83 "..\..\..\Windows\LoginWindow.xaml"
     this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.ModifyButton = ((System.Windows.Controls.Button)(target));
     
     #line 89 "..\..\..\Windows\LoginWindow.xaml"
     this.ModifyButton.Click += new System.Windows.RoutedEventHandler(this.ModifyButton_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ConnectButton = ((System.Windows.Controls.Button)(target));
     
     #line 95 "..\..\..\Windows\LoginWindow.xaml"
     this.ConnectButton.Click += new System.Windows.RoutedEventHandler(this.ConnectButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.HostnameValue = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.PortValue = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.PasswordValue = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 9:
     this.AutoReconnectSwitch = ((Elysium.Controls.ToggleSwitch)(target));
     return;
     case 10:
     this.AppBarLogin = ((Elysium.Controls.ApplicationBar)(target));
     return;
     case 11:
     
     #line 200 "..\..\..\Windows\LoginWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.NewConnexionClick);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 209 "..\..\..\Windows\LoginWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AuthorsClick);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 210 "..\..\..\Windows\LoginWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.LicenseClick);
     
     #line default
     #line hidden
     return;
     case 14:
     
     #line 211 "..\..\..\Windows\LoginWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DonateClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #2
0
 public static void SetApplicationBar([NotNull] System.Windows.Window obj, ApplicationBar value)
 {
     ValidationHelper.NotNull(obj, () => obj);
     obj.SetValue(ApplicationBarProperty, value);
 }
Beispiel #3
0
 public static void SetApplicationBar([NotNull] System.Windows.Window obj, ApplicationBar value)
 {
     ValidationHelper.NotNull(obj, "obj");
     obj.SetValue(ApplicationBarProperty, value);
 }