Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I get the filename and sourcepath of a running process? Pin
RaviRanjanKr9-Nov-10 3:56
professionalRaviRanjanKr9-Nov-10 3:56 
AnswerRe: How can I get the filename and sourcepath of a running process? Pin
RaviRanjanKr9-Nov-10 3:55
professionalRaviRanjanKr9-Nov-10 3:55 
AnswerRe: How can I get the filename and sourcepath of a running process? Pin
Luc Pattyn9-Nov-10 4:10
sitebuilderLuc Pattyn9-Nov-10 4:10 
GeneralRe: How can I get the filename and sourcepath of a running process? Pin
RaviRanjanKr9-Nov-10 4:24
professionalRaviRanjanKr9-Nov-10 4:24 
GeneralRe: How can I get the filename and sourcepath of a running process? Pin
ShilpaKumari10-Nov-10 0:20
ShilpaKumari10-Nov-10 0:20 
GeneralRe: How can I get the filename and sourcepath of a running process? Pin
RaviRanjanKr10-Nov-10 1:29
professionalRaviRanjanKr10-Nov-10 1:29 
GeneralRe: How can I get the filename and sourcepath of a running process? Pin
AshishKr15-Nov-10 1:35
AshishKr15-Nov-10 1:35 
GeneralRe: How can I get the filename and sourcepath of a running process? Pin
MDNadeemAkhter9-Nov-10 16:59
MDNadeemAkhter9-Nov-10 16:59 
GeneralRe: How can I get the filename and sourcepath of a running process? Pin
RaviRanjanKr9-Nov-10 17:50
professionalRaviRanjanKr9-Nov-10 17:50 
QuestionDatagridview Pin
yesu prakash8-Nov-10 22:12
yesu prakash8-Nov-10 22:12 
AnswerRe: Datagridview Pin
TweakBird8-Nov-10 23:59
TweakBird8-Nov-10 23:59 
QuestionReplace assembly at runtime Pin
marca2928-Nov-10 21:43
marca2928-Nov-10 21:43 
AnswerRe: Replace assembly at runtime Pin
David Ewen8-Nov-10 22:07
professionalDavid Ewen8-Nov-10 22:07 
AnswerRe: Replace assembly at runtime Pin
John Gathogo8-Nov-10 22:08
John Gathogo8-Nov-10 22:08 
GeneralRe: Replace assembly at runtime Pin
marca2928-Nov-10 22:18
marca2928-Nov-10 22:18 
AnswerRe: Replace assembly at runtime Pin
Pete O'Hanlon9-Nov-10 1:54
mvePete O'Hanlon9-Nov-10 1:54 
QuestionHow can I access my Mainwindow-controls from a thread? Pin
Erik8-Nov-10 20:45
Erik8-Nov-10 20:45 
AnswerRe: How can I access my Mainwindow-controls from a thread? Pin
David Ewen8-Nov-10 21:06
professionalDavid Ewen8-Nov-10 21:06 
GeneralRe: How can I access my Mainwindow-controls from a thread? Pin
David Ewen8-Nov-10 21:14
professionalDavid Ewen8-Nov-10 21:14 
GeneralRe: How can I access my Mainwindow-controls from a thread? Pin
Erik8-Nov-10 21:50
Erik8-Nov-10 21:50 
QuestionDatagridview Pin
yesu prakash8-Nov-10 20:41
yesu prakash8-Nov-10 20:41 
AnswerRe: Datagridview Pin
David Ewen8-Nov-10 20:50
professionalDavid Ewen8-Nov-10 20:50 
This will create a new row when the current new row gets clicked. I could see how this may be annoying for users though but I will assume you have your reasons.

public Form1()
{
	InitializeComponent();

	dataGridView1.CellClick += new DataGridViewCellEventHandler(dataGridView1_CellClick);
}

private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
{
	DataGridView dataGridView = sender as DataGridView;
	if(dataGridView.Rows[e.RowIndex].IsNewRow)
	{
		int newRowIndex = dataGridView.Rows.Add();
		dataGridView.CurrentCell = dataGridView.Rows[newRowIndex].Cells[e.ColumnIndex];
	}
}

QuestionSocket and Thread Question Pin
jason_mf8-Nov-10 18:45
jason_mf8-Nov-10 18:45 
AnswerRe: Socket and Thread Question Pin
Rajesh Anuhya8-Nov-10 18:55
professionalRajesh Anuhya8-Nov-10 18:55 
GeneralRe: Socket and Thread Question Pin
jason_mf8-Nov-10 18:58
jason_mf8-Nov-10 18:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.