private void MapSettingFE6Form_Load(object sender, EventArgs e) { //章拡張を表示するかどうか if (MapSettingForm.IsShowChapterExetdns(this.AddressList.Items.Count)) { AddressListExpandsButton_255.Show(); } else { this.AddressList.Height += AddressListExpandsButton_255.Height; AddressListExpandsButton_255.Hide(); } }
private void MapLoadFunctionForm_Load(object sender, EventArgs e) { bool enable = PatchUtil.IsSwitch1Enable(Program.ROM.RomInfo.map_load_function_switch1_address()); if (!enable) { this.ERROR_NOT_FOUND.Show(); this.WriteButton.Hide(); } //章拡張を表示するかどうか uint map_count = MapSettingForm.GetDataCount(); if (MapSettingForm.IsShowChapterExetdns((int)map_count)) { AddressListExpandsButton_255.Show(); } else { this.AddressList.Height += AddressListExpandsButton_255.Height; AddressListExpandsButton_255.Hide(); } }