Example #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ChildWindowControl = ((GraphicEditor.View.UserControls.ChildWindow)(target));
     return;
     case 3:
     this.TopPanel = ((System.Windows.Controls.Border)(target));
     return;
     case 4:
     this.HeaderTxt = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.ButtonClose = ((System.Windows.Controls.Button)(target));
     
     #line 85 "..\..\..\..\View\UserControls\ChildWindow.xaml"
     this.ButtonClose.Click += new System.Windows.RoutedEventHandler(this.ButtonClose_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.PART_Host = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.rightSizeGrip = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 8:
     this.bottomSizeGrip = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 9:
     this.bottomRightSizeGrip = ((System.Windows.Shapes.Rectangle)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ChildWindowControl = ((GraphicEditor.View.UserControls.ChildWindow)(target));
     return;
     case 3:
     this.TopPanel = ((System.Windows.Controls.Border)(target));
     return;
     case 4:
     this.ButtonClose = ((System.Windows.Controls.Button)(target));
     return;
     case 5:
     this.HeaderTxt = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.PART_Host = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.rightSizeGrip = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 8:
     this.bottomSizeGrip = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 9:
     this.bottomRightSizeGrip = ((System.Windows.Shapes.Rectangle)(target));
     return;
     }
     this._contentLoaded = true;
 }