Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((Plugin_Manager.MainWindow)(target));
                return;

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

            #line 23 "..\..\MainWindow.xaml"
                this.adminButton.Click += new System.Windows.RoutedEventHandler(this.AdminButton_Click);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\MainWindow.xaml"
                this.commandButtonCollapse.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\MainWindow.xaml"
                this.commandButtonExpand.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\MainWindow.xaml"
                this.commandButtonOpenMenu.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.commandButtonRemove = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\MainWindow.xaml"
                this.commandButtonRemove.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.commandButtonSaveMenu = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.commandButtonSaveMenu.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.NameLabel = ((System.Windows.Controls.Label)(target));
                return;

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

            case 10:
                this.warnIcon = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.scrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

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

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

            #line 47 "..\..\MainWindow.xaml"
                this.listbox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listArray_SelectionChanged);

            #line default
            #line hidden

            #line 47 "..\..\MainWindow.xaml"
                this.listbox.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.item_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 14:
                this.Search = ((System.Windows.Controls.TextBox)(target));

            #line 48 "..\..\MainWindow.xaml"
                this.Search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Search_TextChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.Name_sort_tb = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 49 "..\..\MainWindow.xaml"
                this.Name_sort_tb.Click += new System.Windows.RoutedEventHandler(this.Sort_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.Developer_sort_tb = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.Developer_sort_tb.Click += new System.Windows.RoutedEventHandler(this.Sort_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.Type_sort_tb = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 51 "..\..\MainWindow.xaml"
                this.Type_sort_tb.Click += new System.Windows.RoutedEventHandler(this.Sort_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.treeview = ((System.Windows.Controls.TreeView)(target));

            #line 53 "..\..\MainWindow.xaml"
                this.treeview.DragOver += new System.Windows.DragEventHandler(this.treeViewl_DragOver);

            #line default
            #line hidden

            #line 53 "..\..\MainWindow.xaml"
                this.treeview.Drop += new System.Windows.DragEventHandler(this.treeViewl_Drop);

            #line default
            #line hidden

            #line 53 "..\..\MainWindow.xaml"
                this.treeview.MouseMove += new System.Windows.Input.MouseEventHandler(this.treeViewl_MouseMove);

            #line default
            #line hidden
                return;

            case 19:
                this.commandButtonCreateFolder = ((System.Windows.Controls.Button)(target));

            #line 55 "..\..\MainWindow.xaml"
                this.commandButtonCreateFolder.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.commandButtonAddSeparator = ((System.Windows.Controls.Button)(target));

            #line 58 "..\..\MainWindow.xaml"
                this.commandButtonAddSeparator.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.commandButtonNewMenu = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\MainWindow.xaml"
                this.commandButtonNewMenu.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.commandButtonMenuSettings = ((System.Windows.Controls.Button)(target));

            #line 65 "..\..\MainWindow.xaml"
                this.commandButtonMenuSettings.Click += new System.Windows.RoutedEventHandler(this.CommandButton_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.SettingsMenuPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 24:
                this.menuNameEditText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.menuSettingsButtonApply = ((System.Windows.Controls.Button)(target));

            #line 79 "..\..\MainWindow.xaml"
                this.menuSettingsButtonApply.Click += new System.Windows.RoutedEventHandler(this.menuSettingsButton_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.menuSettingsShowHide = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\MainWindow.xaml"
                this.menuSettingsShowHide.Click += new System.Windows.RoutedEventHandler(this.menuSettingsButton_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.stateOnlyIncluded = ((System.Windows.Controls.CheckBox)(target));

            #line 86 "..\..\MainWindow.xaml"
                this.stateOnlyIncluded.Click += new System.Windows.RoutedEventHandler(this.StateOnlyIncluded_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.TypePluginLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.statusGrid = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 30:
                this.pb = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 31:
                this.statusLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((Plugin_Manager.MainWindow)(target));

            #line 8 "..\..\MainWindowFunc.xaml"
                this.window.SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.NameLabel_change = ((System.Windows.Controls.TextBox)(target));

            #line 23 "..\..\MainWindowFunc.xaml"
                this.NameLabel_change.KeyDown += new System.Windows.Input.KeyEventHandler(this.NameLabel_change_KeyDown);

            #line default
            #line hidden
                return;

            case 3:
                this.NameLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.Edit = ((System.Windows.Controls.Image)(target));

            #line 26 "..\..\MainWindowFunc.xaml"
                this.Edit.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseUp);

            #line default
            #line hidden
                return;

            case 5:
                this.EditAccept = ((System.Windows.Controls.Image)(target));

            #line 27 "..\..\MainWindowFunc.xaml"
                this.EditAccept.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.EditAccept_PUSH);

            #line default
            #line hidden
                return;

            case 6:
                this.scrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 7:
                this.StackPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.Location = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.Location_Copy = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.Location_Copy1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.Location_Copy2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.editButton = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\MainWindowFunc.xaml"
                this.editButton.Click += new System.Windows.RoutedEventHandler(this.EditButton_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\MainWindowFunc.xaml"
                this.listbox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listArray_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.Search = ((System.Windows.Controls.TextBox)(target));

            #line 47 "..\..\MainWindowFunc.xaml"
                this.Search.GotFocus += new System.Windows.RoutedEventHandler(this.Search_GotFocus);

            #line default
            #line hidden

            #line 47 "..\..\MainWindowFunc.xaml"
                this.Search.LostFocus += new System.Windows.RoutedEventHandler(this.Search_LostFocus);

            #line default
            #line hidden

            #line 47 "..\..\MainWindowFunc.xaml"
                this.Search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Search_TextChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.Name_sort_tb = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 48 "..\..\MainWindowFunc.xaml"
                this.Name_sort_tb.Click += new System.Windows.RoutedEventHandler(this.Sort_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.Developer_sort_tb = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 50 "..\..\MainWindowFunc.xaml"
                this.Developer_sort_tb.Click += new System.Windows.RoutedEventHandler(this.Sort_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.Type_sort_tb = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 51 "..\..\MainWindowFunc.xaml"
                this.Type_sort_tb.Click += new System.Windows.RoutedEventHandler(this.Sort_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.treeview = ((System.Windows.Controls.TreeView)(target));

            #line 53 "..\..\MainWindowFunc.xaml"
                this.treeview.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.TemplateTreeView_PreviewMouseMove);

            #line default
            #line hidden

            #line 53 "..\..\MainWindowFunc.xaml"
                this.treeview.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.TemplateTreeView_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 19:
                this.openMenuButton = ((System.Windows.Controls.Button)(target));

            #line 54 "..\..\MainWindowFunc.xaml"
                this.openMenuButton.Click += new System.Windows.RoutedEventHandler(this.OpenMenuButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }