private void WorldMapPointForm_Load(object sender, EventArgs e) { MapPictureBox.HideCommandBar(); MapPictureBox.LoadWorldMap(); MapPictureBox.SetChipSize(1); for (uint i = 0; i < WorldMapPathForm.DataCount(); i++) { List <MapPictureBox.StaticItem> list = WorldMapPathForm.DrawPath(i); for (int n = 0; n < list.Count; n++) { MapPictureBox.SetStaticItem("road" + i.ToString() + "_" + n.ToString(), list[n].x, list[n].y, list[n].bitmap); } MapPictureBox.Invalidate(); } //拡張ボタンを表示するかどうか if (WorldMapPointForm.IsShowWorldmapPointExetdns(AddressList.Items.Count)) { AddressListExpandsButton_255.Show(); } else { this.AddressList.Height += AddressListExpandsButton_255.Height; AddressListExpandsButton_255.Hide(); } }
private void WorldMapPathEditorForm_Load(object sender, EventArgs e) { MakePathCombo(); MapPictureBox.SetChipSize(1); Bitmap icon = ImageSystemIconForm.YubiTate(); U.MakeTransparent(icon); MapPictureBox.SetDefaultIcon(icon, -8, -14); U.SelectedIndexSafety(PathType, 0); }
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(); } }