示例#1
0
 public Form1()
 {
     InitializeComponent();
     outputPanel = new OutputPanel(new PaintToolsCollection());
     DrawPanel.Controls.Add(outputPanel);
     outputPanel.Width  = DrawPanel.Width;
     outputPanel.Height = DrawPanel.Height;
     outputPanel.Add(new EmptyTool());
 }
示例#2
0
文件: Form1.cs 项目: swstwix/Paint2
 public Form1()
 {
     InitializeComponent();
     outputPanel = new OutputPanel(new PaintToolsCollection());
     DrawPanel.Controls.Add(outputPanel);
     outputPanel.Width = DrawPanel.Width;
     outputPanel.Height = DrawPanel.Height;
     outputPanel.Add(new EmptyTool());
 }