Example #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());
 }
Example #2
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());
 }
Example #3
0
 private void Line1ButtonClick(object sender, EventArgs e)
 {
     outputPanel.Add(Line1Tool.Build());
     listView1.Items.Add(new ListViewItem("Line1"));
     Invalidate(true);
 }