Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((WpfApplication1.Window2)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.win2_main_window = ((WpfApplication1.Window2)(target));
                return;

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

            case 3:
                this.win2_status_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.win2_status_groupbox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 5:
                this.win2_status_groupbox_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.win2_status_groupbox_grid_separator1 = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 7:
                this.win2_status_groupbox_grid_separator2 = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 8:
                this.win2_status_groupbox_grid_separator3 = ((System.Windows.Controls.GridSplitter)(target));
                return;

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

            case 10:
                this.win2_status_groupbox_rating_label = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 13:
                this.win2_status_groupbox_vehicleid_textblock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 15:
                this.win2_status_groupbox_balance_value_textblock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.win2_status_groupbox_balance_units_label = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.win2_status_groupbox_counter_value_textblock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.win2_status_groupbox_counter_units_label = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.win2_messagebox_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.win2_messagebox_history_textbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.win2_messagebox_current_border = ((System.Windows.Controls.Border)(target));
                return;

            case 22:
                this.win2_messagebox_current_textblock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.win2_messagebox_progressbar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 24:
                this.win2_current_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 25:
                this.win2_current_border = ((System.Windows.Controls.Border)(target));
                return;

            case 26:
                this.win2_current_textblock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.win2_status_other_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 28:
                this.win2_status_other_groupbox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 29:
                this.win2_status_other_groupbox_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 30:
                this.win2_status_other_groupbox_grid_separator1 = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 31:
                this.win2_status_other_groupbox_grid_separator2 = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 32:
                this.win2_status_other_groupbox_vehicleid_label = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.win2_status_other_groupbox_rating_label = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.win2_status_other_groupbox_balance_label = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.win2_status_other_groupbox_vehicleid_textblock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.win2_status_other_groupbox_rating_textblock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.win2_status_other_groupbox_balance_value_textblock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.win2_status_other_groupbox_balance_units_label = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }