Monday, September 14, 2009

How do i make MDI Parent & Child Forms in C#.NET as looks like as Master & Child Pages in ASP.NET?

C#:
I have to develop project that looks like "Master & child" Pages in ASP.net, i.e., "MDI-Parent & MDI-child" But here i need not want the titlebar for child form and should not have child form minimizeble (i.e, ChildForm should be fit in the content part of a MDI-Parent form).

Here my idea is, First i have to design a MDI Parent form with companies Logo picture bar & 3 buttons(Rounded Rectangular image buttons) namely "EntryForm" button, "UpdateForm" button, "ViewForm" button. In that if i clicked "EntryForm" button, then the Entryform MDI-child should be should in that MDI-Parent Form and as the same for other two buttons also. Note: Even though the MDI-Child form should works as it as independent form

Note:

At Present i'm using the Custom User controls, But getting confusions in linking the custom user control forms. I have used (designed) 3 custom controls (UC_EntryForm, UC_UpdateForm, UC_ViewForm) as a child form looks. And One Normal Window Form with BackGround Companies Logo picture and a Panel (into which the custom controls will shown) & 3 buttons. For each button has needs a code to load a specific custom user control. How?



No comments:

Post a Comment

Followers