mdi

How to remove gray background on MDI parent form?

江枫思渺然 提交于 2019-12-19 06:39:29
问题 What I'm trying to do is draw some glass on a form marked as an mdi container. However as soon as the IsMdiContainer is set, the form adds an MdiClient to it's list of Controls. At this point something happens to the parent form - almost like a dark gray panel is being docked to the entire form onto which the MdiClient is being placed on. I then do is the following to move the MdiClient control out of the way a bit: foreach(var c in Controls) { if(c is MdiClient) { var client = (MdiClient)c;

How to remove gray background on MDI parent form?

馋奶兔 提交于 2019-12-19 06:39:07
问题 What I'm trying to do is draw some glass on a form marked as an mdi container. However as soon as the IsMdiContainer is set, the form adds an MdiClient to it's list of Controls. At this point something happens to the parent form - almost like a dark gray panel is being docked to the entire form onto which the MdiClient is being placed on. I then do is the following to move the MdiClient control out of the way a bit: foreach(var c in Controls) { if(c is MdiClient) { var client = (MdiClient)c;

Delphi, MDI vs Tabs for multi-document interface

自闭症网瘾萝莉.ら 提交于 2019-12-18 12:34:16
问题 I'm developing a multi-document application. Currently it uses MDI which is quite convenient for me (as a developer) as well as for users I believe. However there is one "against" - I haven't found a solution to quickly load many child windows (each time the window is created and maximized to fill the parent's area, there is an 'animation' of resizing which takes a lot of time) so far, thus I'm considering switching back to tabbed interface (which requires some more work, I need to "embed" a

Contain a VB6 form in a .Net MDI

匆匆过客 提交于 2019-12-18 07:08:41
问题 I'm porting an old VB6 app into .Net but one Vb6 form is too big to migrate in this release. I Shell the Vb6 exe to show the VB6 form from .Net, but the VB6 form is not contained in the .Net MDI. I have a gut feeling its not possible to embed the VB6 form in the .NET MDI , does anyone know if this is possible? I'm after something like Interop Forms Toolkit 2.1 or even an API 回答1: It is indeed possible. It's just neither simple, nor a particularly a good idea... You'll need to create an

WPF MDI children

。_饼干妹妹 提交于 2019-12-18 06:14:14
问题 This question has been posted before, but I can't find a good answer. I want MDI children in my WPF application. And I want those children to be fully WPF compliant. .Net WPF doesn't have MDI children (windows within main window) any more. Some say it’s because the design is obsolete and GUI apps shouldn't be designed that way. Those people can refrain from answering this post. I know what I need. :) What (preferably free) alternatives is there for WPF MDI? Will they work with MVVM? EDIT:

How to implement mdi in a WPF application

微笑、不失礼 提交于 2019-12-18 05:43:15
问题 I really like MDI applications. It allows me to move quickly between windows and compare the content of different windows. Furthermore, sometime the content of one window is useful for another, so I can copy and paste. I think it's a great user experience for working mode. Right or wrong practice, I love it. I saw Stack Overflow question MDI applications in WPF , and there they gave the Visual Studio 2010 environment as an example. I didn't understand if and how it is possible to implement

How to implement mdi in a WPF application

馋奶兔 提交于 2019-12-18 05:43:04
问题 I really like MDI applications. It allows me to move quickly between windows and compare the content of different windows. Furthermore, sometime the content of one window is useful for another, so I can copy and paste. I think it's a great user experience for working mode. Right or wrong practice, I love it. I saw Stack Overflow question MDI applications in WPF , and there they gave the Visual Studio 2010 environment as an example. I didn't understand if and how it is possible to implement

Is there still a place for MDI? [closed]

廉价感情. 提交于 2019-12-17 19:04:57
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . Even though MDI is considered harmful, several applications (even MS Office, Adobe apps) still use it either in its pure form or some as a hybrid with a tabbed/IDE-like interface. Is an MDI interface still appropriate for some applications? I'm thinking of an application

Winforms MDI “Desktop” Area Boundry

十年热恋 提交于 2019-12-14 01:13:05
问题 The default MDI parent control has a large "desktop" area that can display multiple child forms. Users can drag forms to the edge of this desktop area so that most of the child form is off the screen. (A scroll bar then appears in the MDI parent) I don't like this feature. Is there a way to lock down the edge of the desktop area so that the child forms remain fully visible? 回答1: Disable the MDI window scrollbars Hook the OnMove event of all child windows. If the window is moved outside the

how to call mdi form by function

痴心易碎 提交于 2019-12-13 20:30:37
问题 How do I create a function for following code so that i may not have to write the following whole code to make a form be used as MDICHILD Form. Students stu = null; private void studentsToolStripMenuItem1_Click(object sender, EventArgs e) { if (stu == null || stu.IsDisposed) { stu = new Students(); stu.MdiParent = this; stu.Show(); } else { stu.Activate(); } } while I want it like this private void studentsToolStripMenuItem1_Click(object sender, EventArgs e) { CreateMdiChild(Students); } and