Exemplo n.º 1
0
 private void decimalToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ViewMode = ViewMode.Dec;
     hexaDecimalToolStripMenuItem.Checked = false;
     decimalToolStripMenuItem.Checked     = true;
     ProgramListController.UpdateCurrentListItems();
 }
Exemplo n.º 2
0
 public MainWindow()
 {
     InitializeComponent();
     ViewMode = ViewMode.Hex;
     Program  = new CurrentAsmProgram();
     ProgramListController = new ProgramListController(lv);
 }
Exemplo n.º 3
0
 private void MainWindow_Load(object sender, EventArgs e)
 {
     //TEST CODE!!!
     Program.Add(new ProgramInstruction(2048, OperationCode.Lda, OperationMode.Absolute)
     {
         ByteArgument = 45
     });
     Program.Add(new ProgramInstruction(64000, OperationCode.Lda, OperationMode.Absolute)
     {
         ByteArgument = 45
     });
     ProgramListController.RefreshList(Program);
 }