Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyToolWindow = ((QuillCorporation.VSPackage.MyControl)(target));
                return;

            case 2:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\MyControl.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyToolWindow = ((QuillCorporation.VSPackage.MyControl)(target));
     return;
     case 2:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\MyControl.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }