示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\MainWindowMini.xaml"
                ((StarSpot.MainWindowMini)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.character_health_pgbx = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 3:
                this.character_health_pgb = ((Elysium.Controls.ProgressBar)(target));
                return;

            case 4:
                this.character_shield_pgbx = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 5:
                this.character_shield_pgb = ((Elysium.Controls.ProgressBar)(target));
                return;

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

            #line 38 "..\..\..\MainWindowMini.xaml"
                this.start_btn.Click += new System.Windows.RoutedEventHandler(this.start_btn_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 39 "..\..\..\MainWindowMini.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonDown);

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

            #line 12 "..\..\..\MainWindow.xaml"
                ((StarSpot.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.charactername_tbx = ((System.Windows.Controls.ComboBox)(target));

            #line 17 "..\..\..\MainWindow.xaml"
                this.charactername_tbx.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.charactername_tbx_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 4:
                this.character_health_pgbx = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 5:
                this.character_health_pgb = ((Elysium.Controls.ProgressBar)(target));
                return;

            case 6:
                this.character_shield_pgbx = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 7:
                this.character_shield_pgb = ((Elysium.Controls.ProgressBar)(target));
                return;

            case 8:
                this.start_btn = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\..\MainWindow.xaml"
                this.Options_btn.Click += new System.Windows.RoutedEventHandler(this.Options_btn_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 53 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.radar_btn_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.log_tbx = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 57 "..\..\..\MainWindow.xaml"
                this.client_version_tbx.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.client_version_tbx_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:

            #line 58 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                ((BotMain)target).Closing += new CancelEventHandler(this.XSQMBNMGFIFJQITQBIFYZS);
                return;

            case 2:
                this.character_shield_pgbx = (System.Windows.Controls.ProgressBar)target;
                return;

            case 3:
                this.character_health_pgbx = (System.Windows.Controls.ProgressBar)target;
                return;

            case 4:
                this.charactername_tbx = (ComboBox)target;
                this.charactername_tbx.SelectionChanged += new SelectionChangedEventHandler(this.RPKSPZFVJEJECGXIKWGZYL);
                return;

            case 5:
                this.test_lbl = (Label)target;
                return;

            case 6:
                this.character_health_pgb = (Elysium.Controls.ProgressBar)target;
                return;

            case 7:
                this.character_shield_pgb = (Elysium.Controls.ProgressBar)target;
                return;

            case 8:
                this.start_btn        = (Button)target;
                this.start_btn.Click += new RoutedEventHandler(this.ZPPGDKYOVNIWSYWRUVORT);
                return;

            case 9:
                this.spots_btn        = (Button)target;
                this.spots_btn.Click += new RoutedEventHandler(this.PPQVRHPCSMQAPRKJMFWUVW);
                return;

            case 10:
                this.Options_btn        = (Button)target;
                this.Options_btn.Click += new RoutedEventHandler(this.TWWJTKNUJNJMWGDLBNHPFF);
                return;

            case 11:
                ((Button)target).Click += new RoutedEventHandler(this.SZIFUSUPOMZZMCUOJALAWU);
                return;

            case 12:
                this.log_tbx = (TextBox)target;
                return;

            case 13:
                this.client_version_tbx = (ComboBox)target;
                this.client_version_tbx.SelectionChanged += new SelectionChangedEventHandler(this.JIDSDWXAZZRHXPNJHFCKUL);
                return;
            }
            this.NWLUATZPJLQLBXYIDKBFGB = true;
        }