Exemplo n.º 1
0
 private void btnSelectColumns_Click(object sender, EventArgs e)
 {
     using (frmSelectColumns frm = new frmSelectColumns(_chipDef, _tracedColumns)) {
         if (frm.ShowDialog() == DialogResult.OK)
         {
             lock (_runLock) {
                 _tracedColumns.Clear();
                 _tracedColumns.AddRange(frmSelectColumns.SelectedColumns);
                 CoreWrapper.setTrace(string.Join("|", _tracedColumns));
                 _needColumnUpdate = true;
                 Step(1);
             }
         }
     }
 }
Exemplo n.º 2
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            if (!DesignMode)
            {
                cboLogMaxLines.SelectedIndex = 0;
                SetMirroring(MirroringType.Horizontal);

                CoreWrapper.initEmulator();
                CoreWrapper.setTrace(string.Join("|", _tracedColumns));
                CoreWrapper.reset(string.Empty, false);

                Step(1);

                StartEmulationThread();
            }
        }