Windows表格 [英] Windows form

查看:47
本文介绍了Windows表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


1-我如何允许用户在我的应用程序中创建各种形状,例如矩形,椭圆形和粗线?

2-如何允许用户从形状工具栏中选择形状并从颜色工具栏中选择颜色.如果用户未选择形状或颜色,则默认形状应为矩形,默认颜色应为红色.用户可以在创建图形时多次更改形状和颜色的选择.

Hi,
1- how can l allow a user to create a various shapes such as rectangles,ellipses and streight lines in my application?

2-how can l allow a user to select a shape from the shape toolbar and a color from the color toolbar.if the user does not select a shape or color,the default shape should be rectangle and the default color should be red.and the users can change their selection of the shape and color any number of times when creating a drawing.

推荐答案

本文将对您有所帮助:
http://www.codeproject.com/KB/miscctrl/TheoryOfMoveableObjects.aspx [ ^ ]

祝你好运!
This article will help:
http://www.codeproject.com/KB/miscctrl/TheoryOfMoveableObjects.aspx[^]

Good luck!


这篇关于Windows表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆