using System.Windows.Forms; using System.Drawing; class Program : Form { Image kep; Program() { Width = 800; Height = 600; Show(); kep = Image.FromFile("kep.png"); } protected override void OnPaint(PaintEventArgs e) { Graphics g = e.Graphics; if (kep != null) g.DrawImage(kep, 400, 200, 100, 100); base.OnPaint(e); } static void Main() { Application.Run(new Program()); } }