private void search_Click(object sender, EventArgs e) { if (searchForm == null) { searchForm = new TextBoxForm(true, true, true, 0, new SearchFunction(Search), "SEARCH FOR VALUES"); searchForm.Owner = this; } searchForm.Show(); }
private void fillBytes_Click(object sender, EventArgs e) { if (fillBytesForm == null) { fillBytesForm = new TextBoxForm(true, false, true, 0, new FillBytesFunction(FillBytes), "FILL WITH VALUE"); fillBytesForm.Owner = this; } fillBytesForm.Show(); }
// Helper forms private void gotoAddress_Click(object sender, EventArgs e) { if (gotoAddressForm == null) { gotoAddressForm = new TextBoxForm(true, false, true, 6, new GotoAddressFunction(GotoAddress), "GOTO ADDRESS"); gotoAddressForm.Owner = this; } gotoAddressForm.Show(); }