Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PART_GradientPicker = ((Imagin.Common.Controls.GradientPicker)(target));
                return;

            case 2:

            #line 38 "..\..\..\..\Controls\GradientPicker\GradientDialog.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnSave);

            #line default
            #line hidden
                return;

            case 3:

            #line 42 "..\..\..\..\Controls\GradientPicker\GradientDialog.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnCancel);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.PART_GradientPicker = ((Imagin.Common.Controls.GradientPicker)(target));
         return;
     }
     this._contentLoaded = true;
 }