wPanel.cs
using System; using System.Drawing; using System.Windows.Forms; public class WPanel : WCtrl { Panel panel; public WPanel() { ctrl = panel = new Panel(); panel.AutoScroll = true; panel.AllowDrop = true; panel.AutoSize = false; } public void SetBorderStyleNone() { panel.BorderStyle = BorderStyle.None; } public void SetBorderStyleLine() { panel.BorderStyle = BorderStyle.FixedSingle; } public void SetBorderStyle3D() { panel.BorderStyle = BorderStyle.Fixed3D; } }
댓글 없음:
댓글 쓰기