private void EventUnitFE7Form_Load(object sender, EventArgs e) { X_Tooltip = InputFormRef.GetToolTip <EventUnitFE7Form>(); this.EVENTUNIT_BEFORE_COORD.SetToolTipEx(this.X_Tooltip); this.EVENTUNIT_AFTER_COORD.SetToolTipEx(this.X_Tooltip); MapPictureBox.SetDefualtIcon(ImageSystemIconForm.Blank16()); }
private void N_P8_ValueChanged(object sender, EventArgs e) { if (this.InputFormRef != null && this.InputFormRef.IsUpdateLock) { return; } U.AddrResult ar = InputFormRef.SelectToAddrResult(this.AddressList); uint mapid = ar.tag; int width = (int)N_B3.Value; int height = (int)N_B4.Value; uint change_address = (uint)N_P8.Value; MapPictureBox.SetDefualtIcon( MapSettingForm.DrawMapChange(mapid, width, height, change_address) ); if (!U.isSafetyPointer(change_address)) { if (change_address == 0) { N_J_8.ErrorMessage = R._("データが設定されていません。マップエディタから、データを作成してください。"); } else { N_J_8.ErrorMessage = R._("ポインタが正しくありません"); } } else { N_J_8.ErrorMessage = ""; } }
private void WorldMapPathEditorForm_Load(object sender, EventArgs e) { MakePathCombo(); MapPictureBox.SetChipSize(1); Bitmap icon = ImageSystemIconForm.YubiTate(); U.MakeTransparent(icon); MapPictureBox.SetDefualtIcon(icon, -8, -14); U.SelectedIndexSafety(PathType, 0); }
private void P8_ValueChanged(object sender, EventArgs e) { uint mapid = (uint)MAP_LISTBOX.SelectedIndex; int width = (int)B3.Value; int height = (int)B4.Value; uint change_address = (uint)P8.Value; MapPictureBox.SetDefualtIcon( MapSettingForm.DrawMapChange(mapid, width, height, change_address) ); }
private void N_P8_ValueChanged(object sender, EventArgs e) { if (this.InputFormRef != null && this.InputFormRef.IsUpdateLock) { return; } U.AddrResult ar = InputFormRef.SelectToAddrResult(this.AddressList); uint mapid = ar.tag; int width = (int)N_B3.Value; int height = (int)N_B4.Value; uint change_address = (uint)N_P8.Value; MapPictureBox.SetDefualtIcon( MapSettingForm.DrawMapChange(mapid, width, height, change_address) ); }
private void WorldMapPathForm_Load(object sender, EventArgs e) { MapPictureBox.HideCommandBar(); MapPictureBox.SetChipSize(1); Bitmap icon = ImageSystemIconForm.YubiTate(); U.MakeTransparent(icon); MapPictureBox.SetDefualtIcon(icon, -8, -14); //拡張ボタンを表示するかどうか if (WorldMapPathForm.IsShowWorldmapPathExetdns(this.AddressList)) { AddressListExpandsButton_255.Show(); } else { this.AddressList.Height += AddressListExpandsButton_255.Height; AddressListExpandsButton_255.Hide(); } }