using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.Text = "Paint Event";
this.Paint += new PaintEventHandler(MyPaintHandler);
}
static void MyPaintHandler(object objSender, PaintEventArgs pea)
{
Graphics grafik = pea.Graphics;
grafik.Clear(Color.LightGreen);
}
}
}
//Bir sonraki makalede görüşmek üzere. Bahadır ŞAHİN
0 comments:
Yorum Gönder