public HexRow(Int32 address, HexEditForm form) { InitializeComponent(); startAddress = address; parentForm = form; sizeY = 22; }
private void OpenHexEditWindow() { //Opens HexEdit window preset at current selected address, if no address is selected, defaults to 0x00 HexEditForm hexEditForm; if (lb_mod_addresses.SelectedIndex != -1) { hexEditForm = new HexEditForm(modAddressControls[lb_mod_addresses.SelectedIndex].getModAddress().address, memoryModifier, this); } else { hexEditForm = new HexEditForm(0x00000, memoryModifier, this); } hexEditForm.Show(); }