Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControlToolTip = ((CustomToolTip.UserControl1)(target));
                return;

            case 2:
                this.UserControlToolTipXY = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 3:
                this.TextBlockToolTip = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.ToolTipTitle = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControlToolTip = ((CustomToolTip.UserControl1)(target));
     return;
     case 2:
     
     #line 13 "..\..\UserControl1.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.box_MouseDown);
     
     #line default
     #line hidden
     return;
     case 3:
     this.edit = ((System.Windows.Controls.Image)(target));
     
     #line 14 "..\..\UserControl1.xaml"
     this.edit.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.edit_MouseDown);
     
     #line default
     #line hidden
     return;
     case 4:
     this.xbttn = ((System.Windows.Controls.Image)(target));
     
     #line 15 "..\..\UserControl1.xaml"
     this.xbttn.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);
     
     #line default
     #line hidden
     return;
     case 5:
     this.box = ((System.Windows.Controls.TextBox)(target));
     
     #line 16 "..\..\UserControl1.xaml"
     this.box.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.box_MouseDown);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }