Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.sidePanel = ((VTManager.Slider)(target));
                return;

            case 2:
                this.expandArea = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.expand_button = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 4:
                this.working_elements = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 6:
                this.items_grid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 8:
                this.loss_value = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

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

            case 10:
                this.res_sp1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.res_grid1 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 13:
                this.sand_value = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 14:
                this.res_grid2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.silicone_labe = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.silicone_value = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 17:
                this.res_grid3 = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 19:
                this.steel_value = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 20:
                this.res_sp2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:
                this.res_grid21 = ((System.Windows.Controls.Grid)(target));
                return;

            case 22:
                this.orcglass_label = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.orcglass_value = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

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

            case 25:
                this.ptpf_labe = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.ptpf_value = ((Xceed.Wpf.Toolkit.MaskedTextBox)(target));
                return;

            case 27:
                this.net_label = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.networking_grid = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 30:
                this.net_timeout_label = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.net_timeout_adder = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 32:
                this.connect_button = ((System.Windows.Controls.Button)(target));
                return;

            case 33:
                this.to_conf_button = ((System.Windows.Controls.Button)(target));
                return;

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

            case 35:
                this.file_grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 36:
                this.unlogin_button = ((System.Windows.Controls.Button)(target));
                return;

            case 37:
                this.to_dir_button = ((System.Windows.Controls.Button)(target));
                return;

            case 38:
                this.save_button = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainMenuWindow.xaml"
                ((VTManager.MainMenuWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 7:
                this.user_info_textbox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.line = ((System.Windows.Controls.Border)(target));
                return;

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

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

            case 11:
                this.line2 = ((System.Windows.Controls.Border)(target));
                return;

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

            case 13:
                this.rest_time_label = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.working_elements = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.rest1_button = ((System.Windows.Controls.Button)(target));
                return;

            case 16:
                this.rest2_button = ((System.Windows.Controls.Button)(target));
                return;

            case 17:
                this.continue_button = ((System.Windows.Controls.Button)(target));
                return;

            case 18:
                this.processing_button = ((System.Windows.Controls.Button)(target));
                return;

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

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

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

            case 22:
                this.logo = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.d = ((VTManager.Slider)(target));
                return;

            case 24:
                this.menu_frame = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }