Example #1
0
 private void decimalToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ViewMode = ViewMode.Dec;
     hexaDecimalToolStripMenuItem.Checked = false;
     decimalToolStripMenuItem.Checked     = true;
     ProgramListController.UpdateCurrentListItems();
 }
Example #2
0
 public MainWindow()
 {
     InitializeComponent();
     ViewMode = ViewMode.Hex;
     Program  = new CurrentAsmProgram();
     ProgramListController = new ProgramListController(lv);
 }
Example #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);
 }