private void MarkListButton_Click(object sender, EventArgs e)
        {
            HexEditorMark f = (HexEditorMark)InputFormRef.JumpFormLow <HexEditorMark>();

            f.Init(this.ChangeDataList);

            DialogResult dr = f.ShowDialog();

            this.AddressList.Focus();
            if (dr != System.Windows.Forms.DialogResult.OK)
            {
                return;
            }

            uint addr = f.SelectAddr();

            for (int i = 0; i < this.ChangeDataList.Count; i++)
            {
                if (ChangeDataList[i].addr == addr)
                {
                    U.SelectedIndexSafety(AddressList, i);
                    break;
                }
            }
        }
Beispiel #2
0
        private void MarkListButton_Click(object sender, EventArgs e)
        {
            HexEditorMark f = (HexEditorMark)InputFormRef.JumpFormLow <HexEditorMark>();

            f.Init(this.HexBox.GetMarks());

            DialogResult dr = f.ShowDialog();

            this.HexBox.Focus();
            if (dr != System.Windows.Forms.DialogResult.OK)
            {
                return;
            }
            this.HexBox.JumpTo(f.SelectAddr(), false);
        }