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

C#

 
AnswerRe: StrongName Question Pin
tgrt12-May-08 3:52
tgrt12-May-08 3:52 
GeneralRe: StrongName Question Pin
William Ten Broek12-May-08 10:24
William Ten Broek12-May-08 10:24 
QuestionFile attributes Pin
ScottM112-May-08 0:44
ScottM112-May-08 0:44 
AnswerRe: File attributes Pin
Anthony Mushrow12-May-08 1:28
professionalAnthony Mushrow12-May-08 1:28 
AnswerRe: File attributes Pin
Ashfield12-May-08 1:29
Ashfield12-May-08 1:29 
AnswerRe: File attributes Pin
MoustafaS12-May-08 2:28
MoustafaS12-May-08 2:28 
QuestionHelp with web services in C# Pin
WebMaster12-May-08 0:26
WebMaster12-May-08 0:26 
AnswerRe: Help with web services in C# Pin
Anthony Mushrow12-May-08 1:32
professionalAnthony Mushrow12-May-08 1:32 
GeneralRe: Help with web services in C# Pin
WebMaster12-May-08 6:41
WebMaster12-May-08 6:41 
GeneralRe: Help with web services in C# Pin
Anthony Mushrow12-May-08 6:45
professionalAnthony Mushrow12-May-08 6:45 
QuestionPrint with landscap Pin
cocoonwls12-May-08 0:25
cocoonwls12-May-08 0:25 
AnswerRe: Print with landscap Pin
Gareth H12-May-08 0:55
Gareth H12-May-08 0:55 
GeneralRe: Print with landscap Pin
cocoonwls12-May-08 7:26
cocoonwls12-May-08 7:26 
GeneralRe: Print with landscap Pin
Gareth H12-May-08 9:05
Gareth H12-May-08 9:05 
GeneralRe: Print with landscap Pin
cocoonwls12-May-08 15:19
cocoonwls12-May-08 15:19 
QuestionPassing Variable to Parent form Pin
benjamin yap11-May-08 23:14
benjamin yap11-May-08 23:14 
AnswerRe: Passing Variable to Parent form Pin
Christian Graus11-May-08 23:17
protectorChristian Graus11-May-08 23:17 
GeneralRe: Passing Variable to Parent form Pin
benjamin yap11-May-08 23:33
benjamin yap11-May-08 23:33 
GeneralRe: Passing Variable to Parent form Pin
Christian Graus11-May-08 23:54
protectorChristian Graus11-May-08 23:54 
GeneralRe: Passing Variable to Parent form Pin
benjamin yap12-May-08 0:02
benjamin yap12-May-08 0:02 
GeneralRe: Passing Variable to Parent form Pin
Christian Graus12-May-08 0:04
protectorChristian Graus12-May-08 0:04 
GeneralRe: Passing Variable to Parent form Pin
benjamin yap12-May-08 0:10
benjamin yap12-May-08 0:10 
Oh, so inside my FrmMain_Load(), i tried set my childLogin to ShowDialog

i get this error
"Form that is not a top-level form cannot be displayed as a modal dialog box. Remove the form from any parent form before calling showDialog."


private void FrmMain_Load(object sender, EventArgs e)
{
this.toolStripStaff.Visible = false;
this.toolStripCatalogue.Visible = false;
this.toolStripProduct.Visible = false;
this.toolStripOrder.Visible = false;
this.toolStripInventory.Visible = false;

FrmLogin childLogin = new FrmLogin();
childLogin.MdiParent = this;
childLogin.ShowDialog();
stripLblLoginAs.Text = "Login As :";
}
GeneralRe: Passing Variable to Parent form Pin
natsuyaki12-May-08 0:13
natsuyaki12-May-08 0:13 
GeneralRe: Passing Variable to Parent form Pin
Christian Graus12-May-08 0:14
protectorChristian Graus12-May-08 0:14 
GeneralRe: Passing Variable to Parent form Pin
Christian Graus12-May-08 0:13
protectorChristian Graus12-May-08 0:13 

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.