Example #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.userControl = ((Launcher.Controller.CustomWindowBorder)(target));
     
     #line 8 "..\..\CustomWindowBorder.xaml"
     this.userControl.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.windowBorderContrast = ((System.Windows.Controls.Border)(target));
     return;
     case 3:
     this.WindowBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 4:
     this.resizeGrip = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.windowContent = ((System.Windows.Controls.Frame)(target));
     return;
     case 6:
     this.windowControl = ((Launcher.Controller.CustomWindowControls)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 10 "..\..\..\GUI\MainWindow.xaml"
     ((Jan18101997.ExileLauncher.GUI.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.CustomWindow = ((Launcher.Controller.CustomWindowBorder)(target));
     return;
     }
     this._contentLoaded = true;
 }