Click here to Skip to main content
15,911,646 members
Home / Discussions / C#
   

C#

 
QuestionWeird problem with Button.Image Pin
atuldeore28-Jun-06 22:29
atuldeore28-Jun-06 22:29 
AnswerRe: Weird problem with Button.Image Pin
synunn29-Jun-06 0:14
synunn29-Jun-06 0:14 
AnswerRe: Weird problem with Button.Image Pin
engsrini29-Jun-06 6:13
engsrini29-Jun-06 6:13 
QuestionRetrieve TextBoxes border colour. Pin
Stu Richardson28-Jun-06 22:26
Stu Richardson28-Jun-06 22:26 
AnswerRe: Retrieve TextBoxes border colour. Pin
JoeSharp28-Jun-06 22:42
JoeSharp28-Jun-06 22:42 
GeneralRe: Retrieve TextBoxes border colour. [modified] Pin
Stu Richardson28-Jun-06 23:10
Stu Richardson28-Jun-06 23:10 
Question[.Net1.1][Winform] MaximizeBox event ?! Pin
Seb.2628-Jun-06 22:16
Seb.2628-Jun-06 22:16 
AnswerRe: [.Net1.1][Winform] MaximizeBox event ?! Pin
Nader Elshehabi28-Jun-06 23:25
Nader Elshehabi28-Jun-06 23:25 
Hello
There is no Maximized event to override. Instead try overriding SizeChanged event.
Something like this:


SizeChangedHandler(params...)
{
if(WindowState == Maximized)
{
if(Height > Screen.PrimaryScreen.WorkingArea.Height)
{
Top = 0
}
else
{
Top = Screen.PrimaryScreen.WorkingArea.Height / 2 - Height / 2; //To center the Form vertically
}
if(Width > Screen.PrimaryScreen.WorkingArea.Width)
{
Left = 0;
}
else
{
Left = Screen.PrimaryScreen.WorkingArea.Width / 2 - Width / 2; //To center the Form horizontally
}
}
}
AnswerRe: [.Net1.1][Winform] MaximizeBox event ?! Pin
engsrini29-Jun-06 6:22
engsrini29-Jun-06 6:22 
QuestionTakes too long to create a big string. Pin
sergestusxx28-Jun-06 21:41
sergestusxx28-Jun-06 21:41 
AnswerRe: Takes too long to create a big string. Pin
Martin#28-Jun-06 21:52
Martin#28-Jun-06 21:52 
AnswerRe: Takes too long to create a big string. Pin
sathish s28-Jun-06 21:52
sathish s28-Jun-06 21:52 
AnswerRe: Takes too long to create a big string. Pin
Sushant Duggal28-Jun-06 21:53
Sushant Duggal28-Jun-06 21:53 
QuestionHow to get cell containg Text from datagrid in Winforms Pin
ranandbe28-Jun-06 20:42
ranandbe28-Jun-06 20:42 
AnswerRe: How to get cell containg Text from datagrid in Winforms Pin
aruna_susee29-Jun-06 0:28
aruna_susee29-Jun-06 0:28 
GeneralRe: How to get cell containg Text from datagrid in Winforms Pin
ranandbe29-Jun-06 20:50
ranandbe29-Jun-06 20:50 
GeneralRe: How to get cell containg Text from datagrid in Winforms Pin
aruna_susee29-Jun-06 21:18
aruna_susee29-Jun-06 21:18 
Questionhow to use RowFilter Property of DataView in C#? Pin
Alamzeb khan28-Jun-06 20:41
Alamzeb khan28-Jun-06 20:41 
AnswerRe: how to use RowFilter Property of DataView in C#? Pin
ketankumar28-Jun-06 21:19
ketankumar28-Jun-06 21:19 
QuestionWindows services Pin
Pardeep.hsp28-Jun-06 20:41
Pardeep.hsp28-Jun-06 20:41 
Questionhow to insert the element of a array of ArrayList in a DataGrid Pin
foysal mamun28-Jun-06 20:16
foysal mamun28-Jun-06 20:16 
AnswerRe: how to insert the element of a array of ArrayList in a DataGrid Pin
Martin#28-Jun-06 20:32
Martin#28-Jun-06 20:32 
AnswerRe: how to insert the element of a array of ArrayList in a DataGrid Pin
stancrm28-Jun-06 20:44
stancrm28-Jun-06 20:44 
QuestionHow to migrate c# projects to 64-bit platforms? [modified] Pin
Eric Vonjacson28-Jun-06 19:43
Eric Vonjacson28-Jun-06 19:43 
AnswerRe: How to migrate c# projects to 64-bit platforms? Pin
stancrm28-Jun-06 20:30
stancrm28-Jun-06 20:30 

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.