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

            #line 7 "..\..\RPM200.xaml"
                ((MatrixSystemEditor.RPM200)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.devTopPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.conLed = ((Lib.Controls.CLed)(target));
                return;

            case 4:
                this.labelAPID = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.edDevName = ((System.Windows.Controls.TextBox)(target));

            #line 49 "..\..\RPM200.xaml"
                this.edDevName.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.edDevName_MouseDoubleClick);

            #line default
            #line hidden

            #line 49 "..\..\RPM200.xaml"
                this.edDevName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.edDevName_TextChanged);

            #line default
            #line hidden

            #line 49 "..\..\RPM200.xaml"
                this.edDevName.MouseLeave += new System.Windows.Input.MouseEventHandler(this.edDevName_MouseLeave);

            #line default
            #line hidden
                return;

            case 6:
                this.labelDevID = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.volSpin = ((Lib.Controls.SpinnerControl)(target));
                return;

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

            case 9:
                this.devBotomPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 10:
                this.zoneSpin = ((Lib.Controls.SpinnerControl)(target));
                return;

            case 11:
                this.saveBtn = ((System.Windows.Controls.Button)(target));

            #line 106 "..\..\RPM200.xaml"
                this.saveBtn.Click += new System.Windows.RoutedEventHandler(this.saveBtn_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.rowZone_0 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 14:
                this.rowZone_1 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 15:
                this.rowZone_2 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 16:
                this.rowZone_3 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 17:
                this.rowZone_4 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 18:
                this.rowZone_5 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 19:
                this.rowZone_6 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 20:
                this.rowZone_7 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 21:
                this.rowZone_8 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 22:
                this.rowZone_9 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 23:
                this.rowZone_10 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 24:
                this.rowZone_11 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 25:
                this.rowZone_12 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 26:
                this.rowZone_13 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 27:
                this.rowZone_14 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 28:
                this.rowZone_15 = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

            #line 9 "..\..\RPM200Page.xaml"
                ((MatrixSystemEditor.RPM200Page)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.devTopPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.conLed = ((Lib.Controls.CLed)(target));
                return;

            case 4:
                this.labelAPID = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.edDevName = ((System.Windows.Controls.TextBox)(target));

            #line 57 "..\..\RPM200Page.xaml"
                this.edDevName.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.edDevName_MouseDoubleClick);

            #line default
            #line hidden

            #line 57 "..\..\RPM200Page.xaml"
                this.edDevName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.edDevName_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.labelDevID = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.fmLb = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.devBotomPanel = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 9:
                this.MaxZoneSetSpin = ((Lib.Controls.SpinnerControl)(target));
                return;

            case 10:
                this.m_zonGroup = ((MatrixSystemEditor.ZoneGroup)(target));
                return;

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

            case 12:
                this.m_rowZone = ((MatrixSystemEditor.RowZoneUnit)(target));
                return;

            case 13:
                this.volSpin = ((Lib.Controls.SpinnerControl)(target));
                return;

            case 14:
                this.chimerSpin = ((Lib.Controls.SpinnerControl)(target));
                return;

            case 15:
                this.masterSpin = ((Lib.Controls.SpinnerControl)(target));
                return;

            case 16:
                this.prioritySpin = ((Lib.Controls.SpinnerControl)(target));
                return;

            case 17:
                this.chimeTimeSpin = ((Lib.Controls.SpinnerControl)(target));
                return;

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

            #line 190 "..\..\RPM200Page.xaml"
                this.tttBtn.Click += new System.Windows.RoutedEventHandler(this.tttBtn_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.btn_loadFromLocal = ((Lib.Controls.CSwitcher)(target));

            #line 191 "..\..\RPM200Page.xaml"
                this.btn_loadFromLocal.Click += new System.Windows.RoutedEventHandler(this.btn_loadFromLocal_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.btn_SavePreset_tolocal = ((Lib.Controls.CSwitcher)(target));

            #line 192 "..\..\RPM200Page.xaml"
                this.btn_SavePreset_tolocal.Click += new System.Windows.RoutedEventHandler(this.btn_SavePreset_tolocal_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.btn_loadFromDevice = ((Lib.Controls.CSwitcher)(target));

            #line 193 "..\..\RPM200Page.xaml"
                this.btn_loadFromDevice.Click += new System.Windows.RoutedEventHandler(this.btn_loadFromDevice_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.btn_saveToDevice = ((Lib.Controls.CSwitcher)(target));

            #line 194 "..\..\RPM200Page.xaml"
                this.btn_saveToDevice.Click += new System.Windows.RoutedEventHandler(this.btn_saveToDevice_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.rotateSpin = ((Lib.Controls.SprocketControl)(target));
                return;
            }
            this._contentLoaded = true;
        }