Home » » C# – Ekran Görüntüsü Yakalama (Print Screen Capture) Programı
15 Ocak 2014 Çarşamba
undefined

C# – Ekran Görüntüsü Yakalama (Print Screen Capture) Programı

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

using System.Drawing.Imaging;

namespace Ekran_Goruntusu_Alma

{

public partial class Form1 : Form

{

public Form1()

{

InitializeComponent();

}

private void GoruntuAl()

{

Bitmap Goruntu = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);

Graphics GFX = Graphics.FromImage(Goruntu);

GFX.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y, 0, 0, Screen.PrimaryScreen.Bounds.Size);

pbKayit.Image = Goruntu;

}

private void btnGoruntu_Click(object sender, EventArgs e)

{

GoruntuAl();

}

private void btnKaydet_Click(object sender, EventArgs e)

{

pbKayit.Image.Save(Application.ExecutablePath + "goruntu.jpeg",ImageFormat.Jpeg);

MessageBox.Show("Resim programın dizinine kayıt edilmiştir.","Başarılı");

}

}

}
C# — FileStream ile dosya okuma

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; ...

Fiyatı ve kdv’si girilen ürünün kdvli fiyatını hesaplama C# Console

Fiyatı ve kdv’si girilen ürünün kdvli fiyatını hesaplama C# Console    namespace kdvl...

C# — Xml dosyasının içeriğini datagridview’e aktarmak

Xml dosyasının içeriğini datagridview’e aktarmak C# Aşağıdaki xml dosyasını oluşturup veri.xml ...

C# — Picturebox’ı formun etrafında hareket ettirme

Picturebox’ı formun etrafında dolaştırma C# Aşağıdaki formu oluşturalım.(resim ekleme–> ...

C# — Bilgisayar kapatma programı

Bilgisayar kapatma programı C# using System; using System.Collections.Generic; using System....

C# — Dal Seçimi Programı

Dal Seçimi Programı C# using System; using System.Collections.Generic; using System.Comp...

 
Support : Vaganzi
Copyright © 2013. Visual Studio Kod Bankası - All Rights Reserved
Powered By Vaganzi