wForm.cs
using System; using System.Drawing; using System.Windows.Forms; public class WForm { Form form; public Form getCtrl() { return form; } public WForm( int width, int height ) { form = new Form(); form.Text = "WinForm V0.0.1"; form.MinimumSize = new Size(width, height); form.StartPosition = FormStartPosition.CenterScreen; } public void Add( Control ctrl) { form.Controls.Add(ctrl); } public int getWidth() { return form.Width; } public int getHeight() { return form.Height; } }
댓글 없음:
댓글 쓰기