예제 #1
0
        private void pCRegisterToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormRegister Register = new FormRegister(Pic.RegisterMap.ProgrammCounterAdapter);

            Register.MdiParent = this;
            Register.Text      = "Programmcounter";
            Register.Show();
        }
예제 #2
0
        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();
        }
예제 #3
0
        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();
        }