private void pCRegisterToolStripMenuItem_Click(object sender, EventArgs e) { FormRegister Register = new FormRegister(Pic.RegisterMap.ProgrammCounterAdapter); Register.MdiParent = this; Register.Text = "Programmcounter"; Register.Show(); }
private void ShowRegisterDetail(Point StartPosition, int RegisterAddress, string Title) { if (Pic == null) { Dialogs.ShowNoFileDialog(); return; } FormRegister Register = new FormRegister(Pic.RegisterMap.GetAdapter(RegisterAddress)); Register.StartPosition = FormStartPosition.Manual; Register.Location = StartPosition; Register.MdiParent = this; Register.Text = Title; Register.Show(); }
private void ShowWRegister(Point StartPosition) { if (Pic == null) { Dialogs.ShowNoFileDialog(); return; } FormRegister Register = new FormRegister(Pic.WRegister); Register.StartPosition = FormStartPosition.Manual; Register.Location = StartPosition; Register.MdiParent = this; Register.Text = "W Register"; Register.Show(); }