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

C#

 
AnswerRe: get the color of the pixel of a bitmap at the mouse cursor's position Pin
Christian Graus14-Apr-09 18:44
protectorChristian Graus14-Apr-09 18:44 
QuestionImporting from Excel 2007? Pin
Solly7414-Apr-09 11:27
Solly7414-Apr-09 11:27 
AnswerRe: Importing from Excel 2007? Pin
Fired.Fish.Gmail14-Apr-09 23:15
Fired.Fish.Gmail14-Apr-09 23:15 
GeneralRe: Importing from Excel 2007? Pin
Fired.Fish.Gmail14-Apr-09 23:17
Fired.Fish.Gmail14-Apr-09 23:17 
GeneralRe: Importing from Excel 2007? Pin
Solly7415-Apr-09 20:52
Solly7415-Apr-09 20:52 
GeneralRe: Importing from Excel 2007? Pin
Solly7415-Apr-09 22:20
Solly7415-Apr-09 22:20 
QuestionMDI Maximize,Minimize Problem. Pin
hdv21214-Apr-09 10:58
hdv21214-Apr-09 10:58 
AnswerRe: MDI Maximize,Minimize Problem. Pin
Richard Dean15-Apr-09 0:05
Richard Dean15-Apr-09 0:05 
I didn' realize at the time but I have an MDI app and when I set minimize and maximize to false
MY APP DID THE SAME THING!
I did a bit of looking around and came up with this
Put the code below in the forms resize event and this will prevent the form minimizing

if (this.WindowState == FormWindowState.Minimized)
{
    this.WindowState = FormWindowState.Maximized;
}

If the form reverts to "normal mode"
add this as well TO THE SAME resize event handler this will prevent the form going to normal mode

if (this.WindowState == FormWindowState.Normal)
{
    this.WindowState = FormWindowState.Maximized;
}


The top code block detects "minimized state", if so then maximise.
The bottom code block detects "normal state", if so then maximise.

I DONT SEE WHY THIS SHOULD NOT WORK BUT I HAVE NOT TRIED THIS SO I CANT VOUCH FOR IT
QuestionIs there a process handle limit in 64-bit Windows Web Server 2008? Pin
Miszou14-Apr-09 10:06
Miszou14-Apr-09 10:06 
AnswerRe: Is there a process handle limit in 64-bit Windows Web Server 2008? Pin
Luc 64801114-Apr-09 10:29
Luc 64801114-Apr-09 10:29 
GeneralRe: Is there a process handle limit in 64-bit Windows Web Server 2008? Pin
Miszou14-Apr-09 11:12
Miszou14-Apr-09 11:12 
AnswerRe: Is there a process handle limit in 64-bit Windows Web Server 2008? Pin
harold aptroot14-Apr-09 11:27
harold aptroot14-Apr-09 11:27 
QuestionStandard class library dll versus COM/COM+ libraries Pin
kikeman14-Apr-09 9:38
kikeman14-Apr-09 9:38 
AnswerRe: Standard class library dll versus COM/COM+ libraries Pin
Luc 64801114-Apr-09 9:41
Luc 64801114-Apr-09 9:41 
GeneralRe: Standard class library dll versus COM/COM+ libraries Pin
kikeman14-Apr-09 11:54
kikeman14-Apr-09 11:54 
GeneralRe: Standard class library dll versus COM/COM+ libraries Pin
Luc 64801114-Apr-09 12:21
Luc 64801114-Apr-09 12:21 
QuestionShare data between processes Pin
toprogramminguy14-Apr-09 9:03
toprogramminguy14-Apr-09 9:03 
QuestionSource Grid cell Focus Problem Pin
soulidentities14-Apr-09 8:12
soulidentities14-Apr-09 8:12 
AnswerRe: Source Grid cell Focus Problem Pin
buachaill cliste14-Apr-09 12:12
buachaill cliste14-Apr-09 12:12 
GeneralRe: Source Grid cell Focus Problem [modified] Pin
soulidentities14-Apr-09 15:53
soulidentities14-Apr-09 15:53 
GeneralRe: Source Grid cell Focus Problem Pin
a.hamidy14-Apr-09 18:06
a.hamidy14-Apr-09 18:06 
GeneralRe: Source Grid cell Focus Pin
buachaill cliste14-Apr-09 18:30
buachaill cliste14-Apr-09 18:30 
GeneralRe: Source Grid cell Focus [modified] Pin
soulidentities18-Apr-09 0:10
soulidentities18-Apr-09 0:10 
QuestionWindows Service Question Pin
E_Gold14-Apr-09 8:02
E_Gold14-Apr-09 8:02 
AnswerRe: Windows Service Question Pin
Le centriste14-Apr-09 8:52
Le centriste14-Apr-09 8:52 

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.