示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PoE_Stash_Sorter = ((POEStashSorter.MainWindow)(target));
                return;

            case 2:
                this.btnStartSorting = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.StashTabs = ((System.Windows.Controls.TabControl)(target));

            #line 6 "..\..\..\MainWindow.xaml"
                this.StashTabs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.StashTabs_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 6:
                this.imgRightStash = ((System.Windows.Controls.Image)(target));
                return;

            case 7:

            #line 69 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ReloadAlgorithms);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\..\MainWindow.xaml"
                this.ddlLeague.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlLeague_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.ddlSortMode = ((System.Windows.Controls.ComboBox)(target));

            #line 79 "..\..\..\MainWindow.xaml"
                this.ddlSortMode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlSortMode_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.StartSorting = ((System.Windows.Controls.Button)(target));

            #line 80 "..\..\..\MainWindow.xaml"
                this.StartSorting.Click += new System.Windows.RoutedEventHandler(this.StartSorting_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.ddlSpeed = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this.stashPanel = ((System.Windows.Controls.Canvas)(target));
                return;

            case 13:
                this.ddlSortOption = ((System.Windows.Controls.ComboBox)(target));

            #line 86 "..\..\..\MainWindow.xaml"
                this.ddlSortOption.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlSortOption_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.PoE_Stash_Sorter = ((POEStashSorter.MainWindow)(target));
     return;
     case 2:
     this.btnStartSorting = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.StashTabs = ((System.Windows.Controls.TabControl)(target));
     
     #line 6 "..\..\MainWindow - Copy 1.xaml"
     this.StashTabs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.StashTabs_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.imgLeftStash = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.imgRightStash = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     
     #line 69 "..\..\MainWindow - Copy 1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ReloadAlgorithms);
     
     #line default
     #line hidden
     return;
     case 8:
     this.ddlLeague = ((System.Windows.Controls.ComboBox)(target));
     
     #line 76 "..\..\MainWindow - Copy 1.xaml"
     this.ddlLeague.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlLeague_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.ddlSortMode = ((System.Windows.Controls.ComboBox)(target));
     
     #line 79 "..\..\MainWindow - Copy 1.xaml"
     this.ddlSortMode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlSortMode_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 10:
     this.StartSorting = ((System.Windows.Controls.Button)(target));
     
     #line 80 "..\..\MainWindow - Copy 1.xaml"
     this.StartSorting.Click += new System.Windows.RoutedEventHandler(this.StartSorting_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.ddlSpeed = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 12:
     this.stashPanel = ((System.Windows.Controls.Canvas)(target));
     return;
     case 13:
     this.ddlSortOption = ((System.Windows.Controls.ComboBox)(target));
     
     #line 86 "..\..\MainWindow - Copy 1.xaml"
     this.ddlSortOption.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlSortOption_SelectionChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.PoE_Stash_Sorter = ((POEStashSorter.MainWindow)(target));
     
     #line 4 "..\..\MainWindow.xaml"
     this.PoE_Stash_Sorter.KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.btnStartSorting = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.StashTabs = ((System.Windows.Controls.TabControl)(target));
     
     #line 6 "..\..\MainWindow.xaml"
     this.StashTabs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.StashTabs_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.imgLeftStash = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.imgRightStash = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.ddlLeague = ((System.Windows.Controls.ComboBox)(target));
     
     #line 74 "..\..\MainWindow.xaml"
     this.ddlLeague.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlLeague_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.ddlSortMode = ((System.Windows.Controls.ComboBox)(target));
     
     #line 77 "..\..\MainWindow.xaml"
     this.ddlSortMode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlSortMode_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 9:
     this.StartSorting = ((System.Windows.Controls.Button)(target));
     
     #line 78 "..\..\MainWindow.xaml"
     this.StartSorting.Click += new System.Windows.RoutedEventHandler(this.StartSorting_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.stashPanel = ((System.Windows.Controls.Canvas)(target));
     return;
     case 11:
     this.ddlSortOption = ((System.Windows.Controls.ComboBox)(target));
     
     #line 83 "..\..\MainWindow.xaml"
     this.ddlSortOption.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlSortOption_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 12:
     this.sliderSpeed = ((System.Windows.Controls.Slider)(target));
     
     #line 84 "..\..\MainWindow.xaml"
     this.sliderSpeed.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.sliderSpeed_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 13:
     this.txtSearch = ((System.Windows.Controls.TextBox)(target));
     
     #line 85 "..\..\MainWindow.xaml"
     this.txtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSearch_TextChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PoE_Stash_Sorter = ((POEStashSorter.MainWindow)(target));

            #line 4 "..\..\MainWindow.xaml"
                this.PoE_Stash_Sorter.KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.btnStartSorting = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.StashTabs = ((System.Windows.Controls.TabControl)(target));

            #line 6 "..\..\MainWindow.xaml"
                this.StashTabs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.StashTabs_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 6:
                this.imgRightStash = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.ddlLeague = ((System.Windows.Controls.ComboBox)(target));

            #line 74 "..\..\MainWindow.xaml"
                this.ddlLeague.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlLeague_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 77 "..\..\MainWindow.xaml"
                this.ddlSortMode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlSortMode_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.StartSorting = ((System.Windows.Controls.Button)(target));

            #line 78 "..\..\MainWindow.xaml"
                this.StartSorting.Click += new System.Windows.RoutedEventHandler(this.StartSorting_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.stashPanel = ((System.Windows.Controls.Canvas)(target));
                return;

            case 11:
                this.ddlSortOption = ((System.Windows.Controls.ComboBox)(target));

            #line 83 "..\..\MainWindow.xaml"
                this.ddlSortOption.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ddlSortOption_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.sliderSpeed = ((System.Windows.Controls.Slider)(target));

            #line 84 "..\..\MainWindow.xaml"
                this.sliderSpeed.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.sliderSpeed_ValueChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.txtSearch = ((System.Windows.Controls.TextBox)(target));

            #line 85 "..\..\MainWindow.xaml"
                this.txtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtSearch_TextChanged);

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