Click here to Skip to main content
15,914,399 members
Home / Discussions / C#
   

C#

 
GeneralRe: Design form standard Pin
Michael P Butler19-Aug-05 10:04
Michael P Butler19-Aug-05 10:04 
Generaldll loading question Pin
ppp00118-Aug-05 16:05
ppp00118-Aug-05 16:05 
GeneralRe: dll loading question Pin
Guffa18-Aug-05 21:55
Guffa18-Aug-05 21:55 
GeneralRe: dll loading question Pin
ppp00118-Aug-05 22:28
ppp00118-Aug-05 22:28 
GeneralRe: dll loading question Pin
Dave Kreskowiak19-Aug-05 1:42
mveDave Kreskowiak19-Aug-05 1:42 
GeneralRe: dll loading question Pin
ppp00121-Aug-05 16:09
ppp00121-Aug-05 16:09 
GeneralRe: dll loading question Pin
Dave Kreskowiak22-Aug-05 0:53
mveDave Kreskowiak22-Aug-05 0:53 
GeneralWinForm does not start on top Pin
gabbyr18-Aug-05 15:30
gabbyr18-Aug-05 15:30 
Hi,

I got a really strange problem with one of my applications. The application is a single dialog screen (basic form) which have a Tab control on it.

However, for some reason, every time that I start it up - the form appears behind any window that is on the screen... basically I would assume that it's Z order told him that. Putting 'BringToTop' on the constructor, Load or Activate events didn't worked.

It is the first time that I saw something like that, and there is probably a simple stupid solution that I am missing...

Any clues what might be happening? Any ideas for solutions (at this point I am using TopMost=true/false to handle it - works in an ugly way).

Here is the 'auto generated' code for the form. Nothing here that I noticed...

this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(626, 440);
this.Controls.Add(this.tabMain);
this.Controls.Add(this.label1);
this.Controls.Add(this.btConnect);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimumSize = new System.Drawing.Size(632, 472);
this.Name = "MainForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "My App";
this.TopMost = true;
this.Resize += new System.EventHandler(this.MainForm_Resize);
this.Load += new System.EventHandler(this.MainForm_Load);
this.Activated += new System.EventHandler(this.MainForm_Activated);
this.ResumeLayout(false);


Thanks,
HS.
QuestionStack Trace? What is it? Pin
...---...18-Aug-05 15:12
...---...18-Aug-05 15:12 
AnswerRe: Stack Trace? What is it? Pin
Christian Graus18-Aug-05 15:27
protectorChristian Graus18-Aug-05 15:27 
GeneralImplementing Interfaces... Pin
Tim McCurdy18-Aug-05 15:06
Tim McCurdy18-Aug-05 15:06 
GeneralRe: Implementing Interfaces... Pin
Christian Graus18-Aug-05 15:13
protectorChristian Graus18-Aug-05 15:13 
GeneralRe: Implementing Interfaces... Pin
Tim McCurdy18-Aug-05 15:22
Tim McCurdy18-Aug-05 15:22 
GeneralRe: Implementing Interfaces... Pin
Matt Gerrans18-Aug-05 21:49
Matt Gerrans18-Aug-05 21:49 
GeneralRe: Implementing Interfaces... Pin
Matt Gerrans18-Aug-05 21:00
Matt Gerrans18-Aug-05 21:00 
GeneralRe: Implementing Interfaces... Pin
Tim McCurdy20-Aug-05 7:47
Tim McCurdy20-Aug-05 7:47 
GeneralRe: Implementing Interfaces... Pin
J4amieC18-Aug-05 23:28
J4amieC18-Aug-05 23:28 
GeneralRedim Arrays in C# Pin
mpastchenko18-Aug-05 14:45
mpastchenko18-Aug-05 14:45 
GeneralRe: Redim Arrays in C# Pin
Christian Graus18-Aug-05 15:01
protectorChristian Graus18-Aug-05 15:01 
GeneralRe: Redim Arrays in C# Pin
Tim McCurdy18-Aug-05 15:01
Tim McCurdy18-Aug-05 15:01 
GeneralRe: Redim Arrays in C# Pin
Tim McCurdy18-Aug-05 15:08
Tim McCurdy18-Aug-05 15:08 
GeneralRe: Redim Arrays in C# Pin
Dave Doknjas19-Aug-05 19:35
Dave Doknjas19-Aug-05 19:35 
GeneralRe: Redim Arrays in C# Pin
Mohamad Al Husseiny18-Aug-05 22:09
Mohamad Al Husseiny18-Aug-05 22:09 
GeneralRe: Redim Arrays in C# Pin
Azerax19-Aug-05 1:32
Azerax19-Aug-05 1:32 
GeneralRe: Redim Arrays in C# Pin
mpastchenko19-Aug-05 7:46
mpastchenko19-Aug-05 7:46 

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.