예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.WindowVisualPreview = ((nsync.VisualPreviewWindow)(target));

            #line 6 "..\..\VisualPreviewWindow.xaml"
                this.WindowVisualPreview.Loaded += new System.Windows.RoutedEventHandler(this.WindowVisualPreview_Loaded);

            #line default
            #line hidden
                return;

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

            #line 12 "..\..\VisualPreviewWindow.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 13 "..\..\VisualPreviewWindow.xaml"
                this.ButtonClose.Click += new System.Windows.RoutedEventHandler(this.ButtonClose_Click);

            #line default
            #line hidden
                return;

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

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

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

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

            case 8:
                this.ComboBoxFilter = ((System.Windows.Controls.ComboBox)(target));

            #line 22 "..\..\VisualPreviewWindow.xaml"
                this.ComboBoxFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxFilter_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.FilterBoth = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 10:
                this.FilterLeft = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 11:
                this.FilterRight = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 12:
                this.LabelChangeFilter = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.BoxVisualPreview = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 14:
                this.ListViewBoth = ((System.Windows.Controls.ListView)(target));
                return;

            case 15:

            #line 53 "..\..\VisualPreviewWindow.xaml"
                ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.SortClick);

            #line default
            #line hidden
                return;

            case 16:

            #line 56 "..\..\VisualPreviewWindow.xaml"
                ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.SortClick);

            #line default
            #line hidden
                return;

            case 17:

            #line 59 "..\..\VisualPreviewWindow.xaml"
                ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.SortClick);

            #line default
            #line hidden
                return;

            case 18:
                this.ListViewLeftRight = ((System.Windows.Controls.ListView)(target));
                return;

            case 19:

            #line 68 "..\..\VisualPreviewWindow.xaml"
                ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.SortClick);

            #line default
            #line hidden
                return;

            case 20:

            #line 71 "..\..\VisualPreviewWindow.xaml"
                ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.SortClick);

            #line default
            #line hidden
                return;

            case 21:
                this.LabelNoChanges = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.WindowVisualPreview = ((nsync.VisualPreviewWindow)(target));
     
     #line 6 "..\..\VisualPreviewWindow.xaml"
     this.WindowVisualPreview.Loaded += new System.Windows.RoutedEventHandler(this.WindowVisualPreview_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.TitleBar = ((System.Windows.Controls.TextBlock)(target));
     
     #line 12 "..\..\VisualPreviewWindow.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 13 "..\..\VisualPreviewWindow.xaml"
     this.ButtonClose.Click += new System.Windows.RoutedEventHandler(this.ButtonClose_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.BoxLeftPath = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 5:
     this.LabelLeftPath = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.BoxRightPath = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.LabelRightPath = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.ComboBoxFilter = ((System.Windows.Controls.ComboBox)(target));
     
     #line 22 "..\..\VisualPreviewWindow.xaml"
     this.ComboBoxFilter.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBoxFilter_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.FilterBoth = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 10:
     this.FilterLeft = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 11:
     this.FilterRight = ((System.Windows.Controls.ComboBoxItem)(target));
     return;
     case 12:
     this.LabelChangeFilter = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.BoxVisualPreview = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 14:
     this.ListViewBoth = ((System.Windows.Controls.ListView)(target));
     return;
     case 15:
     
     #line 53 "..\..\VisualPreviewWindow.xaml"
     ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.SortClick);
     
     #line default
     #line hidden
     return;
     case 16:
     
     #line 56 "..\..\VisualPreviewWindow.xaml"
     ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.SortClick);
     
     #line default
     #line hidden
     return;
     case 17:
     
     #line 59 "..\..\VisualPreviewWindow.xaml"
     ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.SortClick);
     
     #line default
     #line hidden
     return;
     case 18:
     this.ListViewLeftRight = ((System.Windows.Controls.ListView)(target));
     return;
     case 19:
     
     #line 68 "..\..\VisualPreviewWindow.xaml"
     ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.SortClick);
     
     #line default
     #line hidden
     return;
     case 20:
     
     #line 71 "..\..\VisualPreviewWindow.xaml"
     ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.SortClick);
     
     #line default
     #line hidden
     return;
     case 21:
     this.LabelNoChanges = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }