Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
AnswerRe: visiual programing Pin
V.5-Apr-12 20:43
professionalV.5-Apr-12 20:43 
AnswerRe: visiual programing Pin
Alan Balkany10-Apr-12 4:40
Alan Balkany10-Apr-12 4:40 
Questionclose winforms childs and main Pin
Ronenb5-Apr-12 2:45
Ronenb5-Apr-12 2:45 
AnswerRe: close winforms childs and main Pin
Eddy Vluggen5-Apr-12 2:53
professionalEddy Vluggen5-Apr-12 2:53 
GeneralRe: close winforms childs and main Pin
Ronenb5-Apr-12 4:54
Ronenb5-Apr-12 4:54 
AnswerRe: close winforms childs and main Pin
Eddy Vluggen5-Apr-12 6:01
professionalEddy Vluggen5-Apr-12 6:01 
GeneralRe: close winforms childs and main Pin
Ronenb5-Apr-12 7:44
Ronenb5-Apr-12 7:44 
AnswerRe: close winforms childs and main Pin
Eddy Vluggen5-Apr-12 8:16
professionalEddy Vluggen5-Apr-12 8:16 
Ronenb wrote:
any advice?

Yes. Post the code from the children's OnCloseForm handler.

Start a new project, add this code;
C#
namespace WindowsFormsApplication15
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            this.IsMdiContainer = true;

            new Form() { MdiParent = this, Visible = true };
            new Form() { MdiParent = this, Visible = true };
        }
    }
}
That'll display two documents within a MDI-parent. App will close on X, unless you have some custom code somewhere.
Bastard Programmer from Hell Suspicious | :suss:

GeneralRe: close winforms childs and main Pin
Big Daddy Farang5-Apr-12 9:15
Big Daddy Farang5-Apr-12 9:15 
Suggestiontreeview binding Pin
abhinavashubajpai5-Apr-12 0:44
abhinavashubajpai5-Apr-12 0:44 
GeneralRe: treeview binding Pin
Pete O'Hanlon5-Apr-12 0:48
mvePete O'Hanlon5-Apr-12 0:48 
QuestionImage Encryption Pin
Danial C5-Apr-12 0:27
Danial C5-Apr-12 0:27 
AnswerRe: Image Encryption Pin
Pete O'Hanlon5-Apr-12 0:29
mvePete O'Hanlon5-Apr-12 0:29 
GeneralRe: Image Encryption Pin
Danial C5-Apr-12 0:33
Danial C5-Apr-12 0:33 
GeneralRe: Image Encryption Pin
Pete O'Hanlon5-Apr-12 0:46
mvePete O'Hanlon5-Apr-12 0:46 
GeneralRe: Image Encryption Pin
Danial C5-Apr-12 1:31
Danial C5-Apr-12 1:31 
GeneralRe: Image Encryption Pin
Dave Kreskowiak5-Apr-12 3:50
mveDave Kreskowiak5-Apr-12 3:50 
Questionillegal characters in path - system.argumentException Pin
ausia195-Apr-12 0:16
ausia195-Apr-12 0:16 
AnswerRe: illegal characters in path - system.argumentException Pin
Pete O'Hanlon5-Apr-12 0:47
mvePete O'Hanlon5-Apr-12 0:47 
GeneralRe: illegal characters in path - system.argumentException Pin
ausia195-Apr-12 1:02
ausia195-Apr-12 1:02 
AnswerRe: illegal characters in path - system.argumentException Pin
Luc Pattyn5-Apr-12 1:21
sitebuilderLuc Pattyn5-Apr-12 1:21 
GeneralRe: illegal characters in path - system.argumentException Pin
V.5-Apr-12 1:32
professionalV.5-Apr-12 1:32 
GeneralRe: illegal characters in path - system.argumentException Pin
ausia195-Apr-12 5:42
ausia195-Apr-12 5:42 
GeneralRe: illegal characters in path - system.argumentException Pin
Pete O'Hanlon5-Apr-12 5:48
mvePete O'Hanlon5-Apr-12 5:48 
GeneralRe: illegal characters in path - system.argumentException Pin
ausia195-Apr-12 6:03
ausia195-Apr-12 6:03 

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.