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

            case 2:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 9 "..\..\WindowIntr.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.button2 = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Anuj = ((Microprocessor8085Simulator.MainWindow)(target));
     
     #line 5 "..\..\MainWindow.xaml"
     this.Anuj.KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 17 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItemNew_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 29 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuSetStartAdd_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 30 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItemClearMemory_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 32 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItemPreferences_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 35 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuAbout_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.tabControl1 = ((System.Windows.Controls.TabControl)(target));
     return;
     case 8:
     this.canvas1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 9:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.tbF = ((Microprocessor8085Simulator.myTextBox2d)(target));
     return;
     case 13:
     this.tbA = ((Microprocessor8085Simulator.myTextBox2d)(target));
     return;
     case 14:
     this.canvas3 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 15:
     this.label6 = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.label7 = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.tbF7 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 18:
     this.label8 = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.tbF6 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 20:
     this.label9 = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.tbF5 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     this.label10 = ((System.Windows.Controls.Label)(target));
     return;
     case 23:
     this.tbF4 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 24:
     this.label11 = ((System.Windows.Controls.Label)(target));
     return;
     case 25:
     this.tbF3 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 26:
     this.label12 = ((System.Windows.Controls.Label)(target));
     return;
     case 27:
     this.tbF2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 28:
     this.label13 = ((System.Windows.Controls.Label)(target));
     return;
     case 29:
     this.tbF1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 30:
     this.label14 = ((System.Windows.Controls.Label)(target));
     return;
     case 31:
     this.tbF0 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 32:
     this.canvas4 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 33:
     this.label18 = ((System.Windows.Controls.Label)(target));
     return;
     case 34:
     this.label19 = ((System.Windows.Controls.Label)(target));
     return;
     case 35:
     this.label20 = ((System.Windows.Controls.Label)(target));
     return;
     case 36:
     this.tbC = ((Microprocessor8085Simulator.myTextBox2d)(target));
     return;
     case 37:
     this.tbB = ((Microprocessor8085Simulator.myTextBox2d)(target));
     return;
     case 38:
     this.label21 = ((System.Windows.Controls.Label)(target));
     return;
     case 39:
     this.label22 = ((System.Windows.Controls.Label)(target));
     return;
     case 40:
     this.tbE = ((Microprocessor8085Simulator.myTextBox2d)(target));
     return;
     case 41:
     this.tbD = ((Microprocessor8085Simulator.myTextBox2d)(target));
     return;
     case 42:
     this.label23 = ((System.Windows.Controls.Label)(target));
     return;
     case 43:
     this.label24 = ((System.Windows.Controls.Label)(target));
     return;
     case 44:
     this.tbL = ((Microprocessor8085Simulator.myTextBox2d)(target));
     return;
     case 45:
     this.tbH = ((Microprocessor8085Simulator.myTextBox2d)(target));
     return;
     case 46:
     this.label25 = ((System.Windows.Controls.Label)(target));
     return;
     case 47:
     this.label26 = ((System.Windows.Controls.Label)(target));
     return;
     case 48:
     this.tbM = ((Microprocessor8085Simulator.myTextBox2d)(target));
     return;
     case 49:
     this.canvas2 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 50:
     this.label15 = ((System.Windows.Controls.Label)(target));
     return;
     case 51:
     this.label16 = ((System.Windows.Controls.Label)(target));
     return;
     case 52:
     this.label17 = ((System.Windows.Controls.Label)(target));
     return;
     case 53:
     this.tbSP = ((System.Windows.Controls.TextBox)(target));
     return;
     case 54:
     this.tbPC = ((System.Windows.Controls.TextBox)(target));
     return;
     case 55:
     this.canvas5 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 56:
     this.label27 = ((System.Windows.Controls.Label)(target));
     return;
     case 57:
     this.label28 = ((System.Windows.Controls.Label)(target));
     return;
     case 58:
     this.label29 = ((System.Windows.Controls.Label)(target));
     return;
     case 59:
     this.tbCCC = ((System.Windows.Controls.TextBox)(target));
     return;
     case 60:
     this.tbIC = ((System.Windows.Controls.TextBox)(target));
     return;
     case 61:
     this.canvas6 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 62:
     this.label30 = ((System.Windows.Controls.Label)(target));
     return;
     case 63:
     this.label31 = ((System.Windows.Controls.Label)(target));
     return;
     case 64:
     this.label32 = ((System.Windows.Controls.Label)(target));
     return;
     case 65:
     this.tbLI = ((System.Windows.Controls.TextBox)(target));
     return;
     case 66:
     this.tbNI = ((System.Windows.Controls.TextBox)(target));
     return;
     case 67:
     this.canvas7 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 68:
     this.label33 = ((System.Windows.Controls.Label)(target));
     return;
     case 69:
     this.bTrap = ((System.Windows.Controls.Button)(target));
     
     #line 113 "..\..\MainWindow.xaml"
     this.bTrap.Click += new System.Windows.RoutedEventHandler(this.bInterrrup_Click);
     
     #line default
     #line hidden
     return;
     case 70:
     this.bR75 = ((System.Windows.Controls.Button)(target));
     
     #line 114 "..\..\MainWindow.xaml"
     this.bR75.Click += new System.Windows.RoutedEventHandler(this.bInterrrup_Click);
     
     #line default
     #line hidden
     return;
     case 71:
     this.bR65 = ((System.Windows.Controls.Button)(target));
     
     #line 115 "..\..\MainWindow.xaml"
     this.bR65.Click += new System.Windows.RoutedEventHandler(this.bInterrrup_Click);
     
     #line default
     #line hidden
     return;
     case 72:
     this.bR55 = ((System.Windows.Controls.Button)(target));
     
     #line 116 "..\..\MainWindow.xaml"
     this.bR55.Click += new System.Windows.RoutedEventHandler(this.bInterrrup_Click);
     
     #line default
     #line hidden
     return;
     case 73:
     this.bIntr = ((System.Windows.Controls.Button)(target));
     
     #line 117 "..\..\MainWindow.xaml"
     this.bIntr.Click += new System.Windows.RoutedEventHandler(this.bIntr_Click);
     
     #line default
     #line hidden
     return;
     case 74:
     this.canvas9 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 75:
     this.label42 = ((System.Windows.Controls.Label)(target));
     return;
     case 76:
     this.label43 = ((System.Windows.Controls.Label)(target));
     return;
     case 77:
     this.tbSod = ((System.Windows.Controls.TextBox)(target));
     return;
     case 78:
     this.label44 = ((System.Windows.Controls.Label)(target));
     return;
     case 79:
     this.rbSid0 = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 80:
     this.rbSid1 = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 81:
     this.assemblerTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 82:
     this.AssemblerGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 83:
     this.rtb1 = ((System.Windows.Controls.RichTextBox)(target));
     
     #line 131 "..\..\MainWindow.xaml"
     this.rtb1.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.rtb1_TextChanged);
     
     #line default
     #line hidden
     return;
     case 84:
     this.rtb2 = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 85:
     this.bAssemble = ((System.Windows.Controls.Button)(target));
     
     #line 146 "..\..\MainWindow.xaml"
     this.bAssemble.Click += new System.Windows.RoutedEventHandler(this.bAssemble_Click);
     
     #line default
     #line hidden
     return;
     case 86:
     this.bLoad = ((System.Windows.Controls.Button)(target));
     
     #line 147 "..\..\MainWindow.xaml"
     this.bLoad.Click += new System.Windows.RoutedEventHandler(this.bLoad_Click);
     
     #line default
     #line hidden
     return;
     case 87:
     this.label46 = ((System.Windows.Controls.Label)(target));
     return;
     case 88:
     this.tabItem2 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 89:
     this.bDisassembler = ((System.Windows.Controls.Button)(target));
     
     #line 153 "..\..\MainWindow.xaml"
     this.bDisassembler.Click += new System.Windows.RoutedEventHandler(this.bDisassembler_Click);
     
     #line default
     #line hidden
     return;
     case 90:
     this.label39 = ((System.Windows.Controls.Label)(target));
     return;
     case 91:
     this.label40 = ((System.Windows.Controls.Label)(target));
     return;
     case 92:
     this.tbStartAddress = ((Microprocessor8085Simulator.myTextBox4d)(target));
     return;
     case 93:
     this.tbEndAddress = ((Microprocessor8085Simulator.myTextBox4d)(target));
     return;
     case 94:
     this.label41 = ((System.Windows.Controls.Label)(target));
     return;
     case 95:
     this.rtb3 = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 96:
     this.tabItem1 = ((System.Windows.Controls.TabItem)(target));
     return;
     case 97:
     this.tbGo = ((Microprocessor8085Simulator.myTextBox4d)(target));
     return;
     case 98:
     this.go = ((System.Windows.Controls.Button)(target));
     
     #line 169 "..\..\MainWindow.xaml"
     this.go.Click += new System.Windows.RoutedEventHandler(this.go_Click);
     
     #line default
     #line hidden
     return;
     case 99:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 100:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 101:
     this.myGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 102:
     this.rbMemory = ((System.Windows.Controls.RadioButton)(target));
     
     #line 173 "..\..\MainWindow.xaml"
     this.rbMemory.Checked += new System.Windows.RoutedEventHandler(this.rbMIO_Checked);
     
     #line default
     #line hidden
     return;
     case 103:
     this.rbIo = ((System.Windows.Controls.RadioButton)(target));
     
     #line 174 "..\..\MainWindow.xaml"
     this.rbIo.Checked += new System.Windows.RoutedEventHandler(this.rbMIO_Checked);
     
     #line default
     #line hidden
     return;
     case 104:
     this.bNext = ((System.Windows.Controls.Button)(target));
     
     #line 175 "..\..\MainWindow.xaml"
     this.bNext.Click += new System.Windows.RoutedEventHandler(this.bNext_Click);
     
     #line default
     #line hidden
     return;
     case 105:
     this.bLast = ((System.Windows.Controls.Button)(target));
     
     #line 176 "..\..\MainWindow.xaml"
     this.bLast.Click += new System.Windows.RoutedEventHandler(this.bLast_Click);
     
     #line default
     #line hidden
     return;
     case 106:
     this.label34 = ((System.Windows.Controls.Label)(target));
     return;
     case 107:
     this.bStart = ((System.Windows.Controls.Button)(target));
     
     #line 181 "..\..\MainWindow.xaml"
     this.bStart.Click += new System.Windows.RoutedEventHandler(this.bStart_Click);
     
     #line default
     #line hidden
     return;
     case 108:
     this.bStep = ((System.Windows.Controls.Button)(target));
     
     #line 182 "..\..\MainWindow.xaml"
     this.bStep.Click += new System.Windows.RoutedEventHandler(this.bStep_Click);
     
     #line default
     #line hidden
     return;
     case 109:
     this.bStop = ((System.Windows.Controls.Button)(target));
     
     #line 183 "..\..\MainWindow.xaml"
     this.bStop.Click += new System.Windows.RoutedEventHandler(this.bStop_Click);
     
     #line default
     #line hidden
     return;
     case 110:
     this.label35 = ((System.Windows.Controls.Label)(target));
     return;
     case 111:
     this.rbFast = ((System.Windows.Controls.RadioButton)(target));
     
     #line 185 "..\..\MainWindow.xaml"
     this.rbFast.Checked += new System.Windows.RoutedEventHandler(this.rbEM_Checked);
     
     #line default
     #line hidden
     return;
     case 112:
     this.rbStep = ((System.Windows.Controls.RadioButton)(target));
     
     #line 186 "..\..\MainWindow.xaml"
     this.rbStep.Checked += new System.Windows.RoutedEventHandler(this.rbEM_Checked);
     
     #line default
     #line hidden
     return;
     case 113:
     this.label36 = ((System.Windows.Controls.Label)(target));
     return;
     case 114:
     this.tbPCMenu = ((System.Windows.Controls.TextBox)(target));
     return;
     case 115:
     this.tbLIMenu = ((System.Windows.Controls.TextBox)(target));
     return;
     case 116:
     this.tbNIMenu = ((System.Windows.Controls.TextBox)(target));
     return;
     case 117:
     this.label37 = ((System.Windows.Controls.Label)(target));
     return;
     case 118:
     this.label38 = ((System.Windows.Controls.Label)(target));
     return;
     case 119:
     this.bReset = ((System.Windows.Controls.Button)(target));
     return;
     case 120:
     this.label45 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.tbAdd = ((Microprocessor8085Simulator.myTextBox4d)(target));
     return;
     case 2:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.button1 = ((System.Windows.Controls.Button)(target));
     
     #line 9 "..\..\WindowIntr.xaml"
     this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.button2 = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }