Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
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 
Hi I have sample MDI application with two these forms :
Form1(Main Form) is MdiParent
Form2 is MdiChild

i want when Form2 open, it should be Maximize and user can't change it's WindowState, for this, i wrote this code to open Form2 :

Form2 frm;
frm.MdiParent = this;            
frm.Show();


Form2 Designer Code :

this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 268);
this.DoubleBuffered = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false; // Set MaximizeBox to False
this.MinimizeBox = false; // Set MinimizeBox to False
this.Name = "Form2";
this.Text = "Form2";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.ResumeLayout(false);


But, in runTime (as u see in above designer code which Maximize and Minimize set to False), when i open Form2, the Maximize and Minimize appear in Form2 and when click on Maximize button, it's WindowState change to normal (which i don't want this).
Where does my problem and how to solve it ?
Thanks
AnswerRe: MDI Maximize,Minimize Problem. Pin
Richard Dean15-Apr-09 0:05
Richard Dean15-Apr-09 0:05 
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 
AnswerRe: Windows Service Question Pin
#realJSOP14-Apr-09 9:06
professional#realJSOP14-Apr-09 9:06 
GeneralRe: Windows Service Question Pin
PIEBALDconsult14-Apr-09 17:55
mvePIEBALDconsult14-Apr-09 17:55 
GeneralRe: Windows Service Question Pin
#realJSOP15-Apr-09 0:34
professional#realJSOP15-Apr-09 0:34 
GeneralRe: Windows Service Question Pin
PIEBALDconsult15-Apr-09 4:32
mvePIEBALDconsult15-Apr-09 4:32 

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.