C#.net windows窗体 [英] C# .net windows Form
本文介绍了C#.net windows窗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的朋友们
我想开发一种胶合板切割软件,应该像用户长度和宽度一样工作
代码应该在给定的边界内生成矩形形状图,
i问候如何开始请给出任何想法
在Windows应用程序中工作c#.net 2.0
Dear Friends
I want develop a plywood cutting software which should work like when user gives length and width
the code should generates rectangles shapes diagram in given boundaries,
i am nt greeting how to start please give any idea
working in windows application c# .net 2.0
推荐答案
创建一个带有两个输入框的表单,以允许用户选择长度和宽度。添加一个名为Calculate的按钮。然后按下按钮时,检查值并绘制一个所需大小的矩形(只有四条直线)。不要忘记缩放矩形,使其适合表格。
Create a form with two input boxes to allow the user to select length and width. Add a button called "Calculate". Then when the button is pressed, check the values and draw a rectangle of the required size (just four straight lines). Don't forget to scale the rectangle so it will fit into the form.
这篇关于C#.net windows窗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文