Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WindowExclude = ((nsync.ExcludeWindow)(target));

            #line 5 "..\..\ExcludeWindow.xaml"
                this.WindowExclude.Loaded += new System.Windows.RoutedEventHandler(this.WindowExclude_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.TitleBar = ((System.Windows.Controls.TextBlock)(target));

            #line 11 "..\..\ExcludeWindow.xaml"
                this.TitleBar.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.titleBar_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.ButtonClose = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\ExcludeWindow.xaml"
                this.ButtonClose.Click += new System.Windows.RoutedEventHandler(this.ButtonClose_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.ButtonNext = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\ExcludeWindow.xaml"
                this.ButtonNext.Click += new System.Windows.RoutedEventHandler(this.ButtonNext_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.ButtonClear = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\ExcludeWindow.xaml"
                this.ButtonClear.Click += new System.Windows.RoutedEventHandler(this.ButtonClear_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.BoxLeftPath = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.LabelLeftPath = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.BoxRightPath = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.LabelRightPath = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.ComboBoxFileType = ((System.Windows.Controls.ComboBox)(target));

            #line 21 "..\..\ExcludeWindow.xaml"
                this.ComboBoxFileType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxFileType_SelectionChanged);

            #line default
            #line hidden

            #line 21 "..\..\ExcludeWindow.xaml"
                this.ComboBoxFileType.DropDownOpened += new System.EventHandler(this.ComboBoxFileType_DropDownOpened);

            #line default
            #line hidden
                return;

            case 11:
                this.LabelAddFileTypes = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.BoxExclude = ((System.Windows.Controls.StackPanel)(target));

            #line 25 "..\..\ExcludeWindow.xaml"
                this.BoxExclude.DragEnter += new System.Windows.DragEventHandler(this.BoxExclude_DragEnter);

            #line default
            #line hidden

            #line 25 "..\..\ExcludeWindow.xaml"
                this.BoxExclude.DragLeave += new System.Windows.DragEventHandler(this.BoxExclude_DragLeave);

            #line default
            #line hidden

            #line 25 "..\..\ExcludeWindow.xaml"
                this.BoxExclude.AddHandler(System.Windows.DragDrop.DropEvent, new System.Windows.DragEventHandler(this.BoxExclude_Drop));

            #line default
            #line hidden
                return;

            case 13:
                this.ListBoxExclude = ((System.Windows.Controls.ListBox)(target));

            #line 26 "..\..\ExcludeWindow.xaml"
                this.ListBoxExclude.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.ListBoxExclude_MouseUp);

            #line default
            #line hidden
                return;

            case 14:
                this.HintText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.HintIcon = ((System.Windows.Controls.Image)(target));
                return;

            case 16:
                this.LabelStatus = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.WindowExclude = ((nsync.ExcludeWindow)(target));
     
     #line 5 "..\..\ExcludeWindow.xaml"
     this.WindowExclude.Loaded += new System.Windows.RoutedEventHandler(this.WindowExclude_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.TitleBar = ((System.Windows.Controls.TextBlock)(target));
     
     #line 11 "..\..\ExcludeWindow.xaml"
     this.TitleBar.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.titleBar_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 3:
     this.ButtonClose = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\ExcludeWindow.xaml"
     this.ButtonClose.Click += new System.Windows.RoutedEventHandler(this.ButtonClose_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.ButtonNext = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\ExcludeWindow.xaml"
     this.ButtonNext.Click += new System.Windows.RoutedEventHandler(this.ButtonNext_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ButtonClear = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\ExcludeWindow.xaml"
     this.ButtonClear.Click += new System.Windows.RoutedEventHandler(this.ButtonClear_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.BoxLeftPath = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.LabelLeftPath = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.BoxRightPath = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 9:
     this.LabelRightPath = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.ComboBoxFileType = ((System.Windows.Controls.ComboBox)(target));
     
     #line 21 "..\..\ExcludeWindow.xaml"
     this.ComboBoxFileType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxFileType_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 21 "..\..\ExcludeWindow.xaml"
     this.ComboBoxFileType.DropDownOpened += new System.EventHandler(this.ComboBoxFileType_DropDownOpened);
     
     #line default
     #line hidden
     return;
     case 11:
     this.LabelAddFileTypes = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.BoxExclude = ((System.Windows.Controls.StackPanel)(target));
     
     #line 25 "..\..\ExcludeWindow.xaml"
     this.BoxExclude.DragEnter += new System.Windows.DragEventHandler(this.BoxExclude_DragEnter);
     
     #line default
     #line hidden
     
     #line 25 "..\..\ExcludeWindow.xaml"
     this.BoxExclude.DragLeave += new System.Windows.DragEventHandler(this.BoxExclude_DragLeave);
     
     #line default
     #line hidden
     
     #line 25 "..\..\ExcludeWindow.xaml"
     this.BoxExclude.AddHandler(System.Windows.DragDrop.DropEvent, new System.Windows.DragEventHandler(this.BoxExclude_Drop));
     
     #line default
     #line hidden
     return;
     case 13:
     this.ListBoxExclude = ((System.Windows.Controls.ListBox)(target));
     
     #line 26 "..\..\ExcludeWindow.xaml"
     this.ListBoxExclude.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.ListBoxExclude_MouseUp);
     
     #line default
     #line hidden
     return;
     case 14:
     this.HintText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.HintIcon = ((System.Windows.Controls.Image)(target));
     return;
     case 16:
     this.LabelStatus = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }