Vb.Net kodlarını C#.Nete Çevirme
Vb.Net kodlarını C#.Nete Çevirme : Kodları kopyala yapıştır yöntemi ile aşağıdaki adreslerden birine giderek bir tuş ile çevirme işlemini yapabilirsiniz.Console uygulamaları içinde çevirme yapıyor.
http://www.developerfusion.com/tools/convert/vb-to-csharp/
VİSUAL STUDİO PES 2011 İN ÇALIŞMASINI ENGELLİYOR ONUN İÇİN NE YAPMAM GEREKLİ ONU KENDİSİNİN BİR DOSYASI SANIYOR….
soruyu anlayamadım.Açık yazarmısın.
private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{
DataGridViewRow dRow = dataGridView1.Rows[e.RowIndex];
if (e.ColumnIndex > 0 && dRow.Cells[0].Value != null && dRow.Cells[1].Value != null)
{
int val1 = Convert.ToInt32(dRow.Cells[e.ColumnIndex – 1].Value);
int val2 = Convert.ToInt32(dRow.Cells[e.ColumnIndex].Value);
if (val1 > val2)
{
e.CellStyle.ForeColor = Color.Black;
dRow.DefaultCellStyle.ForeColor = Color.Black;
}
else
{
e.CellStyle.ForeColor = Color.Red;
dRow.DefaultCellStyle.ForeColor = Color.Red;
}
}
}