Click here to Skip to main content
15,890,690 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# setup and deployment projects Pin
Zeyad Jalil7-Aug-12 20:52
professionalZeyad Jalil7-Aug-12 20:52 
AnswerRe: C# setup and deployment projects Pin
Vijay Selvaraj26-Aug-12 22:12
Vijay Selvaraj26-Aug-12 22:12 
QuestionC# window form Pin
yashdiljale4-Aug-12 1:19
yashdiljale4-Aug-12 1:19 
AnswerRe: C# window form Pin
Pete O'Hanlon4-Aug-12 2:41
mvePete O'Hanlon4-Aug-12 2:41 
AnswerRe: C# window form Pin
OriginalGriff4-Aug-12 3:45
mveOriginalGriff4-Aug-12 3:45 
AnswerRe: C# window form Pin
BillWoodruff4-Aug-12 4:40
professionalBillWoodruff4-Aug-12 4:40 
AnswerRe: C# window form Pin
Christian Amado6-Aug-12 10:29
professionalChristian Amado6-Aug-12 10:29 
AnswerRe: C# window form Pin
Vijay Selvaraj26-Aug-12 22:14
Vijay Selvaraj26-Aug-12 22:14 
you can use below Code

C#
[DllImport("user32.dll")]
        static extern int SetParent( int hWndChild, int hWndNewParent);


C#
[DllImport("user32.dll", EntryPoint="SetWindowPos")]
        static extern bool SetWindowPos(
            int hWnd,               // handle to window
            int hWndInsertAfter,    // placement-order handle
            int X,                  // horizontal position
            int Y,                  // vertical position
            int cx,                 // width
            int cy,                 // height
            uint uFlags             // window-positioning options
        );

        [DllImport("user32.dll", EntryPoint="MoveWindow")]
        static extern bool MoveWindow(
            int hWnd,
            int X,
            int Y,
            int nWidth,
            int nHeight,
            bool bRepaint
        );


SetParent( wordWnd, this.Handle.ToInt32());
C#
SetWindowPos(wordWnd,this.Handle.ToInt32(),0,0,this.Bounds.Width+20,this.Bounds.Height+20, SWP_NOZORDER | SWP_NOMOVE | SWP_DRAWFRAME);
                    MoveWindow(wordWnd,-5,-33,this.Bounds.Width+10,this.Bounds.Height+57,true);


this.Parent.Focus();
QuestionC# change linq to sql Pin
dcof3-Aug-12 10:23
dcof3-Aug-12 10:23 
AnswerRe: C# change linq to sql Pin
Abhinav S3-Aug-12 18:02
Abhinav S3-Aug-12 18:02 
AnswerRe: C# change linq to sql Pin
AnnieCalvert3-Aug-12 19:01
AnnieCalvert3-Aug-12 19:01 
GeneralRe: C# change linq to sql Pin
jschell4-Aug-12 7:02
jschell4-Aug-12 7:02 
AnswerRe: C# change linq to sql Pin
BobJanova5-Aug-12 23:45
BobJanova5-Aug-12 23:45 
Questionc# Pin
Member 20501073-Aug-12 5:33
Member 20501073-Aug-12 5:33 
AnswerRe: c# Pin
fjdiewornncalwe3-Aug-12 5:42
professionalfjdiewornncalwe3-Aug-12 5:42 
AnswerRe: c# Pin
Wes Aday3-Aug-12 6:06
professionalWes Aday3-Aug-12 6:06 
AnswerRe: c# Pin
Abhinav S3-Aug-12 18:03
Abhinav S3-Aug-12 18:03 
AnswerRe: c# Pin
Karthik Harve3-Aug-12 20:20
professionalKarthik Harve3-Aug-12 20:20 
AnswerRe: c# Pin
Christian Amado6-Aug-12 10:31
professionalChristian Amado6-Aug-12 10:31 
GeneralCreating a new value and data to am existing registry subkey Pin
M.S.S.E3-Aug-12 4:25
M.S.S.E3-Aug-12 4:25 
GeneralRe: Creating a new value and data to am existing registry subkey Pin
Ed Hill _5_3-Aug-12 5:06
Ed Hill _5_3-Aug-12 5:06 
GeneralRe: Creating a new value and data to am existing registry subkey Pin
M.S.S.E3-Aug-12 6:02
M.S.S.E3-Aug-12 6:02 
GeneralRe: Creating a new value and data to am existing registry subkey Pin
Ed Hill _5_3-Aug-12 6:21
Ed Hill _5_3-Aug-12 6:21 
GeneralRe: Creating a new value and data to am existing registry subkey Pin
M.S.S.E3-Aug-12 6:29
M.S.S.E3-Aug-12 6:29 
GeneralC# using login form Pin
sanjay savaliya3-Aug-12 3:38
sanjay savaliya3-Aug-12 3:38 

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.