Click here to Skip to main content
15,891,204 members
Home / Discussions / C#
   

C#

 
GeneralRe: Some simple C# calculator application questions. Pin
Link26004-Jan-04 23:26
Link26004-Jan-04 23:26 
GeneralRe: Some simple C# calculator application questions. Pin
Colin Angus Mackay4-Jan-04 23:50
Colin Angus Mackay4-Jan-04 23:50 
GeneralRe: Some simple C# calculator application questions. Pin
Heath Stewart5-Jan-04 5:00
protectorHeath Stewart5-Jan-04 5:00 
Questionhow can i build start menue - like in my program??? Pin
warelord4-Jan-04 21:52
warelord4-Jan-04 21:52 
AnswerRe: how can i build start menue - like in my program??? Pin
Heath Stewart5-Jan-04 4:54
protectorHeath Stewart5-Jan-04 4:54 
GeneralHatchStyle Brush from string Pin
LordMMD4-Jan-04 21:34
LordMMD4-Jan-04 21:34 
GeneralRe: HatchStyle Brush from string Pin
Heath Stewart5-Jan-04 4:50
protectorHeath Stewart5-Jan-04 4:50 
GeneralRe: HatchStyle Brush from string Pin
LordMMD5-Jan-04 23:44
LordMMD5-Jan-04 23:44 
GeneralRe: HatchStyle Brush from string Pin
Heath Stewart6-Jan-04 2:05
protectorHeath Stewart6-Jan-04 2:05 
GeneralRe: HatchStyle Brush from string Pin
LordMMD5-Jan-04 23:58
LordMMD5-Jan-04 23:58 
GeneralC# convention!! Pin
abc8764-Jan-04 21:02
abc8764-Jan-04 21:02 
GeneralRe: C# convention!! Pin
Colin Angus Mackay4-Jan-04 21:36
Colin Angus Mackay4-Jan-04 21:36 
GeneralRe: C# convention!! Pin
Paul Watson4-Jan-04 21:41
sitebuilderPaul Watson4-Jan-04 21:41 
GeneralRe: C# convention!! Pin
Heath Stewart5-Jan-04 4:47
protectorHeath Stewart5-Jan-04 4:47 
GeneralRe: C# convention!! Pin
Paul Watson5-Jan-04 4:51
sitebuilderPaul Watson5-Jan-04 4:51 
GeneralRe: C# convention!! Pin
Heath Stewart5-Jan-04 5:19
protectorHeath Stewart5-Jan-04 5:19 
GeneralRe: C# convention!! Pin
Peter Reiter5-Jan-04 5:21
Peter Reiter5-Jan-04 5:21 
GeneralRe: C# convention!! Pin
leppie5-Jan-04 6:04
leppie5-Jan-04 6:04 
GeneralRe: C# convention!! Pin
HAHAHA_NEXT5-Jan-04 7:32
HAHAHA_NEXT5-Jan-04 7:32 
GeneralDataGrid problem plz check Pin
Hayat4-Jan-04 20:52
Hayat4-Jan-04 20:52 
private void Mousedownhere(object sender, System.Windows.Forms.MouseEventArgs e)
{
DataGrid myGrid = (DataGrid) sender;

System.Windows.Forms.DataGrid.HitTestInfo hti;

hti = myGrid.HitTest(e.X, e.Y);

string message = "You clicked ";


switch (hti.Type)

{

case System.Windows.Forms.DataGrid.HitTestType.None :

message += "the background.";

break;

case System.Windows.Forms.DataGrid.HitTestType.Cell :

message += "cell at row " + hti.Row + ", col " + hti.Column;

message += "Row Number : "+Convert.ToString(myGrid.CurrentRowIndex)+"\n\r"+

myGrid[hti.Row, hti.Column];
fscount = hti.Row;



break;

case System.Windows.Forms.DataGrid.HitTestType.ColumnHeader :

message += "the column header for column " + hti.Column;

break;

case System.Windows.Forms.DataGrid.HitTestType.RowHeader :

message += "the row header for row " + hti.Row;
fscount = hti.Row;
string cellvalue = Convert.ToString(myGrid[hti.Row,2]);
// if (cellvalue==”CHINA”)
MessageBox.Show("value is="+cellvalue,Convert.ToString(hti.Row));

break;
//BUT IF I REMOVE THE COMMENTS FROM THE ABOVE if (cellvalue==”CHINA ”) THEN IT DOES NOT SHOW ME //THE MESSAGEBOX
// WHY???????????????



}



}



GeneralRe: DataGrid problem plz check Pin
Heath Stewart5-Jan-04 4:45
protectorHeath Stewart5-Jan-04 4:45 
GeneralRe: DataGrid problem plz check Pin
Hayat6-Jan-04 6:37
Hayat6-Jan-04 6:37 
GeneralRe: DataGrid problem plz check Pin
Heath Stewart6-Jan-04 6:41
protectorHeath Stewart6-Jan-04 6:41 
Generali'm a beginner. help Pin
Forrest Feather4-Jan-04 20:26
Forrest Feather4-Jan-04 20:26 
GeneralRe: i'm a beginner. help Pin
Broken God4-Jan-04 22:16
Broken God4-Jan-04 22:16 

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.