コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.imageType = ((LogicCircuit.AutoWidthComboBox)(target));
                return;

            case 2:
                this.fileName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:

            #line 28 "..\..\..\Dialog\DialogExportImage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonFileClick);

            #line default
            #line hidden
                return;

            case 4:

            #line 36 "..\..\..\Dialog\DialogExportImage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonOkClick);

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

            case 2:
                this.isToggle = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 3:
                this.inverted = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this.side = ((LogicCircuit.AutoWidthComboBox)(target));
                return;

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

            case 6:

            #line 28 "..\..\..\Dialog\DialogButton.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonOkClick);

            #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.sensorType = ((LogicCircuit.AutoWidthComboBox)(target));
                return;

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

            case 3:
                this.side = ((LogicCircuit.AutoWidthComboBox)(target));
                return;

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

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

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

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

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

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

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

            #line 109 "..\..\..\Dialog\DialogSensor.xaml"
                this.buttonOk.Click += new System.Windows.RoutedEventHandler(this.ButtonOkClick);

            #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.writeOn = ((LogicCircuit.AutoWidthComboBox)(target));
                return;

            case 2:
                this.onStart = ((LogicCircuit.AutoWidthComboBox)(target));
                return;

            case 3:
                this.dataBitWidth = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.bitsPerPixel = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

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

            #line 70 "..\..\..\Dialog\DialogGraphicsArray.xaml"
                this.buttonOk.Click += new System.Windows.RoutedEventHandler(this.ButtonOkClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.type = ((LogicCircuit.AutoWidthComboBox)(target));
                return;

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

            case 3:
                this.rows = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.columns = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.colors = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 7:

            #line 57 "..\..\..\Dialog\DialogLedMatrix.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonOkClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.addressBitWidth = ((System.Windows.Controls.ComboBox)(target));

            #line 37 "..\..\..\Dialog\DialogMemoryEditor.xaml"
                this.addressBitWidth.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MemorySizeChanged);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\..\Dialog\DialogMemoryEditor.xaml"
                this.dataBitWidth.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MemorySizeChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.writeOn = ((LogicCircuit.AutoWidthComboBox)(target));
                return;

            case 4:
                this.onStart = ((LogicCircuit.AutoWidthComboBox)(target));
                return;

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

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

            case 7:

            #line 80 "..\..\..\Dialog\DialogMemoryEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonLoadClick);

            #line default
            #line hidden
                return;

            case 8:

            #line 81 "..\..\..\Dialog\DialogMemoryEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonSaveClick);

            #line default
            #line hidden
                return;

            case 9:

            #line 85 "..\..\..\Dialog\DialogMemoryEditor.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonOkClick);

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