问题描述
我需要用一张不同大小和位置的桌子来代表一张餐厅地图.用户应该能够调整每个表格的大小并指定位置(用户设计地图).我正在考虑使用一组图像来表示一张桌子(方形桌子,圆形桌子等),一个调整大小的功能(使用鼠标)并拖放以设置桌子的位置.然后,用户应该能够看到地图并单击所需的表.
重要的是要了解,并非每个屏幕都有相同的分辨率,因此每个表的位置和大小都应按实际分辨率进行缩放.
我正在使用C#和WinForms
在此先谢谢您.
I need to represent a restaurant map with tables of different sizes and location. The user should be able to resize each table and specify the location (the user designs the map). I was thinking of a set of images to represent a table (square table, circular tables, etc.), a resize function (using the mouse) and drag and drop to set the location of the table. Then, the user should be able to see the map and click on the desired table.
It''s important to understand that not every screen has the same resolution so the location and size of each table should be scaled to fit the actual resolution.
I''m using C# and WinForms
Thanks in advance.
推荐答案
这篇关于设计具有图像大小调整和拖放功能的地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!