Professional Documents
Culture Documents
Using Using Using Using Using Using Using Using Namespace Public Partial Class
Using Using Using Using Using Using Using Using Namespace Public Partial Class
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace paint2
{
public partial class Form1 : Form
{
Pen p;
int x = 0;
int y = 0;
Graphics g;
bool start;
bool paint = false;
SolidBrush color;
Color ca;
public Form1()
{
InitializeComponent();
g = convas.CreateGraphics();
p = new Pen(maincolor.BackColor,4);
}
p.Color = c.Color;
}
private void button3_Click(object sender, EventArgs e)
{
p.Color = Color.White;
p.Width = 10;
Of
Submitted By