Click here to Skip to main content
15,880,392 members
Home / Discussions / C#
   

C#

 
AnswerRe: how can i increament an integer variable by one when the application has two threads running? Pin
Calin Tatar1-Mar-09 1:59
Calin Tatar1-Mar-09 1:59 
AnswerRe: how can i increament an integer variable by one when the application has two threads running? Pin
waqarmushtaq845-Mar-09 2:41
waqarmushtaq845-Mar-09 2:41 
QuestionOpen Form Incide another Form Pin
CristianConrads1-Mar-09 0:58
CristianConrads1-Mar-09 0:58 
AnswerRe: Open Form Incide another Form Pin
Henry Minute1-Mar-09 1:19
Henry Minute1-Mar-09 1:19 
GeneralRe: Open Form Incide another Form Pin
Trooks1-Mar-09 3:08
Trooks1-Mar-09 3:08 
GeneralRe: Open Form Incide another Form Pin
CristianConrads1-Mar-09 3:22
CristianConrads1-Mar-09 3:22 
GeneralRe: Open Form Incide another Form Pin
Henry Minute1-Mar-09 7:16
Henry Minute1-Mar-09 7:16 
GeneralRe: Open Form Incide another Form Pin
Henry Minute1-Mar-09 7:30
Henry Minute1-Mar-09 7:30 
I take back some of my last post.
I have just read Eddy Vluggens response.
This definitely CAN be done in pure c#. Smile | :)

Very slight modification to his code

private void btnForm_Click(object sender, EventArgs e)
{
    Form newForm = new Form();
    newForm.TopLevel = false;
    newForm.Parent = this;
    newForm.Visible = true;
    newForm.Location = new Point(10, 10);
    newForm.Size = new Size(this.ClientSize.Width - 20, this.ClientSize.Height - this.panel1.Height - 20);
    newForm.BackColor = Color.Bisque;
    newForm.FormBorderStyle = FormBorderStyle.None;
    this.Controls.Add(newForm);
        }


getting rid of the border, to save you having to look it up if you weren't aware of it already.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

AnswerRe: Open Form Incide another Form Pin
Peter_Weber1-Mar-09 2:37
Peter_Weber1-Mar-09 2:37 
GeneralRe: Open Form Incide another Form Pin
CristianConrads1-Mar-09 3:00
CristianConrads1-Mar-09 3:00 
GeneralRe: Open Form Incide another Form Pin
Peter_Weber1-Mar-09 3:15
Peter_Weber1-Mar-09 3:15 
AnswerRe: Open Form Incide another Form Pin
Eddy Vluggen1-Mar-09 6:39
professionalEddy Vluggen1-Mar-09 6:39 
AnswerRe: Open Form Incide another Form [modified] Pin
0x3c01-Mar-09 7:06
0x3c01-Mar-09 7:06 
AnswerRe: Open Form Incide another Form Pin
Luis Alonso Ramos1-Mar-09 12:59
Luis Alonso Ramos1-Mar-09 12:59 
AnswerSolution [modified] Pin
CristianConrads2-Mar-09 12:59
CristianConrads2-Mar-09 12:59 
QuestionDesktop Calender Repost Pin
WinSolution28-Feb-09 23:22
WinSolution28-Feb-09 23:22 
AnswerRe: Desktop Calender Repost Pin
0x3c028-Feb-09 23:30
0x3c028-Feb-09 23:30 
GeneralRe: Desktop Calender Repost Pin
WinSolution1-Mar-09 0:04
WinSolution1-Mar-09 0:04 
GeneralRe: Desktop Calender Repost Pin
0x3c01-Mar-09 0:22
0x3c01-Mar-09 0:22 
GeneralRe: Desktop Calender Repost Pin
WinSolution1-Mar-09 2:32
WinSolution1-Mar-09 2:32 
GeneralRe: Desktop Calender Repost Pin
0x3c01-Mar-09 6:27
0x3c01-Mar-09 6:27 
AnswerRe: Desktop Calender Repost Pin
AKNR Chandra Sekhar19-Mar-09 8:47
AKNR Chandra Sekhar19-Mar-09 8:47 
QuestionSaving User and Application Settings in WinForms Pin
Sokka9328-Feb-09 21:29
Sokka9328-Feb-09 21:29 
AnswerRe: Saving User and Application Settings in WinForms Pin
ABitSmart1-Mar-09 0:30
ABitSmart1-Mar-09 0:30 
GeneralRe: Saving User and Application Settings in WinForms Pin
Sokka931-Mar-09 0:54
Sokka931-Mar-09 0:54 

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.