コード例 #1
0
        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();
            }
        }
コード例 #2
0
        public MapSettingFE6Form()
        {
            InitializeComponent();

            InputFormRef.markupJumpLabel(X_MAPSTYLE_CHANGE);
            MapPictureBox.HideCommandBar();
            U.ConvertComboBox(InputFormRef.MakeTerrainSet(), ref L_18_COMBO, true);
            this.InputFormRef = Init(this);
            this.InputFormRef.MakeGeneralAddressListContextMenu(true);
        }
コード例 #3
0
        public MapSettingFE7Form()
        {
            InitializeComponent();


            InputFormRef.markupJumpLabel(X_MAPSTYLE_CHANGE);
            MapPictureBox.HideCommandBar();
            MapPictureBox.SetPointIcon("L_142_MAPXY_143", ImageSystemIconForm.ExitPoint());

            //われら輸送体
            Bitmap yusoutai = ImageUnitWaitIconFrom.DrawWaitUnitIconBitmap(0x3A, 0, true);

            MapPictureBox.SetPointIcon("L_130_MAPXY_132", yusoutai);
            MapPictureBox.SetPointIcon("L_131_MAPXY_133", yusoutai);
            U.ConvertComboBox(InputFormRef.MakeTerrainSet(), ref L_19_COMBO, true);
            this.InputFormRef = Init(this);
            this.InputFormRef.MakeGeneralAddressListContextMenu(true);
        }
コード例 #4
0
        public MapSettingForm()
        {
            InitializeComponent();

            InputFormRef.markupJumpLabel(X_MAPSTYLE_CHANGE);
            MapPictureBox.HideCommandBar();
            MapPictureBox.SetPointIcon("L_143_MAPXY_144", ImageSystemIconForm.ExitPoint());
            U.ConvertComboBox(InputFormRef.MakeTerrainSet(), ref L_19_COMBO, true);
            this.InputFormRef = Init(this);
            this.InputFormRef.MakeGeneralAddressListContextMenu(true);

            uint shinan = PatchUtil.SearchShinanTablePatch();

            if (shinan != U.NOT_FOUND)
            {
                InputFormRef.markupJumpLabel(X_JUMP_SHINAN);
                X_JUMP_SHINAN.Show();
            }
        }
コード例 #5
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();
            }
        }
コード例 #6
0
 public MapStyleEditorAppendPopupForm()
 {
     InitializeComponent();
     MapPictureBox.HideCommandBar();
 }