Click here to Skip to main content
15,902,445 members
Everything / MDI

MDI

MDI

Great Reads

by Darryl Bryk
Code is described for drawing an image as a 3D surface plot using OpenGL
by Robert Gustafson
Simplifies working with ToolStrip-type menus and tool bars for MDI-parent and other forms; also works with ToolStrip-type context menus
by snavece
Updating CToolBar to MFC Feature Pack (2008)

Latest Articles

by Robert Gustafson
Simplifies working with ToolStrip-type menus and tool bars for MDI-parent and other forms; also works with ToolStrip-type context menus
by snavece
Updating CToolBar to MFC Feature Pack (2008)
by Darryl Bryk
Code is described for drawing an image as a 3D surface plot using OpenGL

All Articles

Sort by Updated

MDI 

25 Jul 2011 by #realJSOP
Add a menu item to your File menu with the label "Open New Instance...", and when the user slects the file to be opened, spawn a new process.I shouldn't have to say this, but if I don't someone else will...That's a fairly bizarre requirement since an MDI app, by it's very nature, allows...
25 Apr 2012 by 01.mandar
Hi FriendsI have created a MDI form in that i have 2 forms (treeview form and information form)in 2nd (information form) i have added 2 buttons next and previousminimize, maximize works on all of client form correctly(before any click on 2nd form)Problem:when i click button...
12 Apr 2013 by Aarti Meswania
Load child form inside a panel then add that panel in MDI runtimeand it will work same as you desire...Form1 frm = new Form1(); // Child form's objectPanel p = new Panel(); // Run time a panel is createdp.Controls.Add(frm); // add child form in panelthis.Controls.Add(p); // 'this'...
20 Feb 2011 by Abhinav S
I agree with SA. Trying using dashboard like controls (tab, docks etc).They allow you to show much more data on the same page.
26 Mar 2011 by Abhinav S
You can start by making sure any third party your child form uses are installed.Try to open the form in design mode and post the error that occurs here and maybe someone can help you.
25 May 2011 by Abhinav S
You might also want to look at reflection. This[^] excellent article describes this when you want a form to be loaded in unreferenced assemblies.
30 May 2012 by Aero72
Dear all,I'm trying to find a way of using an MDI Child (which happens to be a user control) within a TabControl on the MDI Parent. I am able to put several instances of the user control onto a tab using...Form NumForm = new NumericalViewer();NumForm.TopLevel =...
2 Aug 2012 by Ahmad Abd-Elghany
when i bind the data in the datagrid programmatically and deselect first cell programmatically by this code .dgv.rows[0].selected= false; when i open the form it select the first sell as always! i tried many and many even i tried it in VS 2012 . still a problem ! why MDI have a bug like...
16 Jul 2018 by Ajcek84
Have you considered paging or infinite scrolling? Items may be created/retrieved in a different thread but updating a control always blocks UI thread unless the control supports some kind of virtualization. The best approach is add items by parts (for example 200 items at a time) but you should...
20 Jun 2013 by amir zanganeh امیر زنگنه
Greetings to all dear friendsHow can i use mdi windows in wpf ?Please help meThanks in advance
15 Aug 2018 by Amit Sharma (Patna)
dear all i have a mdiform with a panel on the screen. Panel has a form (for dashboard purpose). it is displaying perfect but as i started opening other forms using mdi menu, child form hides. Please give me some suggestions to resolve the problem i am facing... Thanks and regards Amit Kumar ...
2 Sep 2012 by AmitGajjar
Hi,What you are asking may be possible but i am not prefer to access running program directly. Instead what i suggest you to create one Intermediate XML file for transmitting data between both the application. I don't know what you would like to achieve from attaching both the...
9 Apr 2012 by amityadav4a
I am not getting menu and MDI working in my application Please help.include "windows.h"#include "resource.h"#define IDR_MENU1 2#define IDR_MENU2 3#define IDR_MENU3 3#define IDM_FIRSTCHILD 50000LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ;BOOL CALLBACK...
2 Mar 2011 by Andrew Brock
Notepad uses a standard Windows Edit Box. This requires a CR/LF combination for a new line. Wordpad uses a customised RichEdit control.Basically, you are going to have to insert a '\r' everywhere there a '\n' in the string before you send it across. There are a heap of ways for doing this....
21 Oct 2011 by André Kraak
Have a look at this Beauty is only Skin-Deep: Skinning your WinForms Application[^].It also explains how to close, move, resize and minimize the irregular shaped form.
9 Dec 2013 by AngelBlueSky
Hello, I made an mdi program and I load dinamically some child form this way:Assembly newDll = Assembly.LoadFile("Child_01.exe");Type type = newDll.GetType("Child.Form1");Object obj = Activator.CreateInstance(type);Form child = (Form)Activator.CreateInstance(type);child.MdiParent...
1 Jun 2011 by ankithmt
Hello, I have 3 forms1. frmparent (MDIcontainer)2. frm_com_sel3. frm_com_addI have to load a frm_com_sel on frmparent's load event as dialog box so that no other form can be loaded at that timeI have one button bt_add , on click of that button, i want to load frm_com_add as child...
2 Jan 2012 by Anthony Dilshan
- How to bring a MDI child form to the front when MDI Parent has some controls in itI have created a "MDI Parent" form containing a Split Container & Tree View Controls, when i try to open a Form (MDI Child), that form opens behind the Split Container. Could some one please explain how to...
4 Aug 2011 by anushan23
Hi! I need to know how to change the background image for my MDI application on a daily basis. Can anybody tell me how I can achieve this? Example today is Friday so today one background image .tomorrow automatically change another background image Any codeThanks for your interest!
1 Jun 2014 by Ardi Durres
Hello everybodyI'm having some trouble in coding with the mdi form and a child form.loading mdi formSSTransition1.Visible = FalsefrmChngPass.ShowfrmChngPass.Top = 0frmChngPass.Left = 0Unloading the form Change PasswordUnload MeMDIForm1.ShowSSTransition1.Visible =...
21 May 2015 by Asgard25
We have an application that uses a parent form as a mdi container and all other forms as child forms.On The parent form we have a control that has our 9 menu options on it, so that it doesn't have to be on each child form, but gets hooked up. So it's basically a global menu, but it causes a...
13 Jul 2019 by benjweston
In a win32 mdi desktop app, how would you place an edit control in the mdi client area (just like the Output window in Visual Studio when it's docked at the bottom of the main window)? I'm doing an OpenGL graphics app and to complement using mouse input and getting coordinates from the cursor...
14 Jul 2019 by benjweston
I have an Win32 C++ MDI form with a toolbar at the top, a statusbar at the bottom and an edit control sitting on top of the statusbar, with the rest of the client area clear for child windows. Here's the code to create the edit control: HFONT hfDefault; HWND hEdit; TCHAR lpszSometext[] =...
3 Sep 2016 by BillWoodruff
If at all possible, I suggest you do not use the MDI WinForm architecture for your application; it's outmoded; it's visually unappealing; and, there are better ways to construct a UI that has contained elements (use UserControls, or Panels, or use a TabControl).A WinForm can never be both an...
22 May 2015 by bojammis
I have worked with client's applications that have MDI forms and their application cannot be modified otherwise, so support for the MDI pattern must be maintained. So I hope this helps.I would look into all the form’s members that deal with MDI forms. Two that are useful...
27 Mar 2011 by Brijesh Kr
I think you are using like follow:At an event of a control of MDI use follow: child ch=new child(); ch.MdiParent = this; ch.Show();First you should have a Form, enable it's IsMdiContainer=true.child is a normal form.
12 Apr 2013 by Bryan Rogers
I had this issue too and this is the code I used to handle it. public partial class frmBeam : Form { frmMain FormMain; frmBeamControl FormBeamControl; private void frmBeam_Click(object sender, EventArgs e) { FormBeamControl = new...
31 Jul 2015 by Chandler Gao
Hi all,I encounter one problem on printing MDI child form. I have two different child forms, say f2 and f3 with parent f1. I have a PictureBox in f2, with my image to be printed and one RichTextBox in f3 with text to be printed. I want to print the two child forms separately or sequentially,...
31 Jul 2015 by Chandler Gao
What I can find online is the solution to print the active form, and here is the link:https://social.msdn.microsoft.com/Forums/windows/en-US/b1d9c023-8032-48f8-8092-dbc976607081/printing-active-mdi-child-c?forum=winforms[^]
4 Jun 2014 by CHill60
Firstly I would avoid the use of Sheridan components - I'm not convinced they work under Windows 7. Most people used PictureBoxes to contain buttons on MDI forms. Note I say "used" as this language is no longer supported and most developers are migrating programs to .NET (where they are...
24 Dec 2014 by CHill60
You could call the Application.DoEvents[^] method immediately prior to re-enabling the control. It should consume the waiting messages - i.e. they will fire but be ignored because the control is disabled. Please take note of the warnings and suggestions on that link.You could also consider...
23 Jan 2019 by Chopin2001
I don't know how to remove menubar from dialog that inherit CDockablePane, create by CreateEx function in mainframe of MDI(MFC). My Dialog's problem is have a menubar that have a 'X' icon for close. I want to remove that. Thanks. What I have tried: m_wndOptionBar.CreateEx(NULL, NULL, this,...
16 Jun 2018 by Chopin2001
I have a Windows graphic program on MDI, MFC and Document has a 'wxr' object. The WXR have a CtypedPtrList OBList. OBList* m_pList; And CBackground has a CString members. CString m_projectPathName; CString m_projectName; The program have a Error when close the...
1 Jun 2011 by Chris___808
I would like to be able to "customize" my toolbar depending on what type of child frame becomes active in my MDI application. I have been using CMFCToolbar because they look nice and Visual Studio steers you in that direction.I could not determine how to do it automatically (like the menus...
4 Jun 2011 by Chris___808
Venkat and Anna,Thanks for the replies. The following code seems to work with one caveat mentioned below (I decided to stick with CMFCToolBar):void CMyToolBar::EnableButton (int iCmd, BOOL bStatus){ // iCmd is not the index, but the command ID - this way the // buttons can...
1 Nov 2012 by CPallini
If the variables are global then you can access them (simply declare them extern in your thread source file).
4 Jul 2013 by CPallini
(If I got you) have a look at "Managing Processes and Threads in Windows Forms"[^] (see the "Full Example" section).
26 Oct 2015 by CPallini
Get the CEdit text (you may either use the GetWindowText[^] method or, if appropriate, the DDX mechanism[^]) and copy it in the right adressen field.Of course, you have to first allocate memory for the adressen structure.As a side note, you are using C++ just like C. Why don't you take...
3 Nov 2015 by CPallini
You don't need hint and trick at all, just a plain transfer of values from the edit controls to struct's member. You may use GetWindowText[^] if your member varaibles are CEdit pointers or directly copy the strings if your member varaiables are CStrings.Please note C++ struct are basically...
27 Mar 2011 by Dalek Dave
I am sure there will be more help available if you were to post some of the code.Hard to know what is going on without it, but are you calling the forms correctly? Are there any DLLs attached to the form? Where is the Focus?More information = More Help.
4 Mar 2017 by Dana Bell
I'm trying to access the variables in a child form. I am transitioning from a multi-form WinForm program to a MDI with a ribbon. A lot of the code in the child forms is the same and I would like to code as much is the parent form. I can access and modify controls in the child, but can't figure...
4 Mar 2017 by Dana Bell
While I did not find a way to access variables in a child form directly, I did figure out a way to execute code in the child form from the ribbon. 1. Create a label on the child form2. Make it public (or protected)3. Add a TextChanged event for the label4. Find and change the...
27 Jul 2011 by Darryl Bryk
Code is described for drawing an image as a 3D surface plot using OpenGL
23 May 2015 by Dave Kreskowiak
What you're describing tells me you should NOT be using MDI at all.MDI stands for "Multiple DOCUMENT interface". This means that you're opening multiple documents for editing in multiple copies of the same editor window. Kind of like opening multiple Notepad windows all in the same...
13 Jun 2015 by Dave Kreskowiak
First, get rid of the MDI crap. It's an outdated concept that newb's just abuse to death.MDI stands for "Multiple Document Interface". It was designed for something like, for example, a multi-document Notepad where your child windows are all the same type and do the same thing, like a text...
21 Jun 2015 by Dave Kreskowiak
One, from hat you've shown, you shouldn't be using MDI at all.Second, if you have just ONE child form maximized in MDI, ALL child forms are maximized. This will resize your forms to fill the MDI client area. You cannot turn that behavior off. Like I said, nothing you're shown justifies using...
18 Feb 2016 by Davester28
There must be an easier way to do this...' MDI Parent code calling save routine on child form Private Sub SaveToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripButton.Click If TypeOf (MDICurrentForm) Is...
24 Dec 2014 by Dev O'Connor
Afternoon All,I am using a left hand ribbon control i made to load up MDI Child Forms, the problem i have is that some of them have a significant amount of controls on them so takes a few seconds upon activation to relase the thread.My concern here is that if i multiple click the ribbon...
2 Oct 2011 by E.F. Nijboer
Have a look at the answer here:http://social.msdn.microsoft.com/Forums/en-AU/winforms/thread/d19e23ec-11f5-4ce5-9c1e-98b33becb9d5[^]Good luck!
9 Feb 2012 by E.F. Nijboer
MDI child forms are not shown in the taskbar. By setting false on those properties you effect how the mdi parent is shown in the taskbar.Good luck!
11 Apr 2013 by E.F. Nijboer
Try setting AutoSize to False first and then set the width. Instead, you could also set MinWidth instead of Width. MinWidth will work with AutoSize but prevents the panel from becoming too small. Good luck!
19 Feb 2011 by Espen Harlinn
Another very good solution on codeplex is AvalonDock[^] - You'll be able to create a flexible UI similar to the Visual Studio tabbed MDI.RegardsEspen Harlinn
17 Mar 2011 by Espen Harlinn
Charles,I'...
10 Jul 2011 by Espen Harlinn
Try playing around with WPF - it has better support for nesting windows inside windows, nested inside windows - and so on ...There are also nice libraries like AvalonDock[^] that will help you manage the UI. SAKryukov do have a point - to much of this may easily confuse users ...Best...
1 Nov 2012 by Eugen Podsypalnikov
1. You have a memory leak now, fix:// cpp:void CYourView::OnSprint(){ //.. THREADVIEW sPar = { this }; // on-stack instance, will be automatically "deleted" AfxBeginThread(ChangeColorThread, &sPar); // note: you could pass this directly as well //..}2. Your thread parameter...
5 Feb 2018 by gautam solanki
Hi I am developing one sample application by using WPF MDI. I used User Control as child form. It works fine but I am getting child forms titlebar and its border so it occupies space in MDIContainer. I want to remove that space. So anyone can help me to remove that space? Please see image :...
19 Oct 2015 by George Jonsson
As you are using MFC, you can use CStringT::Tokenize[^] to split every line you read in separate words using the comma (,).Then you can place each word in the array using a loop.
25 May 2011 by Giulliano Rodrigues
What is the best way to create an inherited MDI form without duplicating the menu groups?If you just inherit your MID_Children from your MID_Parent, your MDI_Children will have 2 menu groups. How to avoid that?The reason for that is the fact that I have multiple applications that have the...
10 Feb 2015 by Goutam K. Jha
Hello Developers I'm developing MDI application in C# Windows form and i want to add new child window with dockable auto-hide property.So please help me out with sample example.
20 Feb 2017 by Graeme_Grant
Google Search is your friend... A quick search highlights many possible results that could help you. Have you tried doing any research?
5 Feb 2018 by Graeme_Grant
Check out: MahApps.Metro Documentation[^] and GitHub - ButchersBoy/Dragablz: Dragable and tearable tab control for WPF[^] for a more modern MDI-like interface like Google Chrome as an alternative...
11 Apr 2013 by Harikamalina
go to to the toolbar->select the status-bar from the tool bar->select the properties of status bar.(triangle which is displayed on status bar)->click the edit items..add label ->go to the properties of label.. select the text property of label enter a text like "NAME" press "space bar "...
2 Oct 2011 by HatemGamal
In my mdi application i have four mdichild forms, one of them is used as a background and holding some controls..How to prevent this background mdichild form from getting focus/activation when switching between other mdichild forms using Ctrl+Tab?In other word how to skip this background...
26 Jan 2014 by HermiHermer
Hello,after migrating my project from Visual Studio 2008 to 2012, I missed the repainting of the MDI-Client-Window while moving the Child-Frame. My project consists of a lot of different child-frame classes. After closing all childs the MDI-Client-Window will be repainted. Minimize and...
6 Jun 2014 by ilostmyid2
hiIn an MDI program written in C++, I've this problem. When a new document is creating, it's view is shown repeatedly with different sized until it gets its final size. I put TRACE in OnSize of the corresponding child frame and got the following...
6 Jun 2011 by Jaadooo
auto_ptrauto_ptr
1 Nov 2012 by JackDingler
You could access it there, but it's a bad idea as you'd need to lock the MainFrame and that can get dirty and complex.I recommend that you create a singleton class to handle your globals. Keep the member variables protected and provide thread safe access methods for the data.Something...
6 Feb 2018 by Jayanta Modak
Sir Please help me about MenuStrip Control used. I create a project there one parents form and two child form MenuStripControl-1 is on parents form (main_form) Menu Item name a) Trans. b)Report c) Setting and MenuStripControl-2 is on child form (purchase_Entry_Form) Menu Item name a) File....
17 Feb 2016 by Jochen Arndt
It seems you already found the asserting line and it tells you what has happened (the messages should have been also printed to the Debug Output window):# ifdef _DEBUG if (m_nMapMode == MM_NONE) { TRACE(traceAppMsg, 0, "Error: must call SetScrollSizes() or...
25 Apr 2018 by Jochen Arndt
That is because CFrameWnd based classes route those message to the active view and CMDIFrameWnd traps the WS_VSCROLL and WS_HSCROLL and styles: TN021: Command and Message Routing[^]: The CFrameWnd class provides management of the active view. The following messages are routed through the active...
16 Jul 2018 by Jochen Arndt
Who will read (and scroll through) 280,000 items? A solution would be using a virtual list control that handles only the items actually visible. See Virtual List Controls | Microsoft Docs[^]. For a non virtual list control you can (and should always even with smaller lists) disable the screen...
14 Nov 2013 by JOE Heart Under Blade
halo, i have a mdi parent my mdi parent are contain menustrip and when i click one of the menustripitem will be call or popup one of form child.i m setting up a background image to my mdi parent.when i import the image the is no problem appear.i can set and change the background...
25 Apr 2012 by JohnCz
Could you please clarify what do you mean by the form?You are referring to forms as treeview form and information form. Are forms dialogs?Also, could you give more detailed information about sizing problem?If you do not click anything, does the client window changes size? What class is...
25 Jul 2011 by Kalyani Kailasamoni
HiI have a MDI application with a Main form and menu associated with that. When "Open" menu item is pressed, the application allows the user to select a file and opens the same. Once a file is opened, if the user clicks "open" again and selects a second file, I want another instance of the...
4 Oct 2013 by Karale
Hi, I am developing an application in Visual Studio 2010 for this is have created Login form which takes credentials from SQL server 2008 and log in. Everything goes right till here. I wish that when user login with correct credentials login form should be closed and MDI parent form should be...
4 Oct 2013 by Karale
Thanks Madhu for replying but i am still facing the same. I have inserted below code.else { Login login = new Login(); login.Hide(); Main main = new Main(); main.Show(); ...
4 Oct 2013 by Karale
Thanks thatraja but your solution is also insufficient .. :(
4 Oct 2013 by Karale
Hi All. got solution but after removing MDI parent and use simple form.and code this.Hide(); Main main = new Main(); main.Show();As Madhu told. Thanks MadhuFYI.. :)
26 Oct 2015 by KarstenK
It is business as usual: you must do your house-keeping.You must allocate you address struct in memoryadressen * addr = new adressen;//.. fill with data// add to listinsert( node, addr );and delete it when your done.The inserting means that you "hang" the new between two...
3 Nov 2015 by KarstenK
You have a big task, and need it to split in little tasks. My first advice, is to write some helper functions for filling the struct. Likevoid setAnrede( adressen*data, const char* anrede ) { strncpy( data->anrede, anrede, 5 - 1 );//use maximal allowed space minus 1 (for the delimeter)}...
1 May 2017 by KarstenK
You must carefully implement the OnNewFile command handler. Renumbering or renaming the IDs is a common trap for messing up the message handling. Check that you create a new child window object and not only re-run the commands with the actual object.
4 Sep 2018 by KarstenK
You can use the WM_CLOSE message. Use the PostMessage API for it and do all needed operations like saving data and settings before. You can also use PostQuitMessage.
14 Sep 2011 by Kishore Jangid
I am thinking of developing a MDI in WPF...After googling i came to know that it can be achieved through Tab Control with User Control Library in WPF...Now my question is After Creating My Window in a UserControl and then using XAML code to call the user control...When the Main Window...
17 Dec 2013 by kool15th
I have made a application on windows forms and made mdi form and child forms. I have a reader and its connection has to be closed on form close. I have managed it for Form CLosed Event. But When its closed from mdi form its not. I want to code on the event of close when closed from the mdi...
22 Jun 2021 by Kyudos
I have an MFC MDIFrame / View architecture. When the child frame/view is resized I want to resize some of the displayed controls. So, in my CMDIChildWnd, I handle OnExitSizeMove, because I don't want to recalculate on every OnSize message. This...
22 Jun 2021 by Kyudos
I found it! Had to monitor CChildFrame::OnSysCommand for SC_RESTORE and SC_MAXIMIZE
7 Apr 2012 by Lakamraju Raghuram
Check this out here for the basics :Creating your first MFC Doc/View application[^] #if!defined(AFX_BFICONSULTATIONDOC_H__4D72AF8D_2711_11D4_99F9_0050BA015F99__INCLUDED_)#define AFX_BFICONSULTATIONDOC_H__4D72AF8D_2711_11D4_99F9_0050BA015F99__INCLUDED_coming to the above 2 lines :...
22 Nov 2020 by LebrunThierry
C++, MFC, MDI application ... How to change the MDI main widows bar color? What I have tried: I tryed with mainframe ... or aCMFCVisualManagerWindows7 derived class BOOL CCiVisualStyle::DrawTextOnGlass(CDC* pDC, CString strText, CRect...
20 Jun 2013 by Leo Chapiro
Take a look at this project, HTH: Multiple Window Interface for WPF[^]Good luck for you!
6 May 2014 by leon de boer
It actually doesn't matter how you do the physicals on screen to do it you have to have the data stored and accessed by a Handle of some form.The handle could be a file handle (temp files), a global memory handle (all the data in memory) or a pointer to storage class object like a stream or...
19 Jun 2014 by lmilano
I have an mdi form with a panel anchored across the top. I want to load a child form in the remaining client area below the panel. When I use DockStyle.Fill, the child form fills the whole mdi client area and the top of the child form is hidden beneath the panel. I am using C#.Thank You.
15 May 2013 by Luci C
Form1 f1=new Form1();f1 is the main formf1 is an Mdi Container;Form2 f2=new Form2();f2.MdiParent=this; f2.show();Now, in constructor of the f2 I have:Form1 f1=(Form1)this.MdiParent; // ERROR But MdiParent is NULL...Why?Thank you...
3 Oct 2011 by M_Mogharrabi
Hi,I have a main form and a lot of child forms in my win form application.i used a ultraToolBarsManager in my main form and i want to show other forms as children of this form when each button of UltraToolBarsManager clicked.I used ultraTabbedMdiManager but my forms did not open!!please...
31 May 2012 by Maciej Los
Take a look at similar discussion: How to Open Child Window in tab[^]
17 Dec 2013 by Maciej Los
Sergey Alexandrovich Kryukov wrote:Here is the best way of using MDI child: never using MDI. Have a look at His past answers: who needs MDI, ever? Why torturing yourself and scaring off your users?[^]
1 Sep 2016 by Maciej Los
I'd say: this is a really bad idea to use MDI. Check this: WindowsApplication with MDI[^]
6 Feb 2018 by Maciej Los
I'd strongly recommend to read article provided by Richard Deeming[^]: Walkthrough: Creating an MDI Form with Menu Merging and ToolStrip Controls | Microsoft Docs[^] Then, check another resources: How to: Hide ToolStripMenuItems | Microsoft Docs[^] How to: Disable ToolStripMenuItems | Microsoft...
8 Mar 2018 by Maciej Los
Follow the instruction: How to: Create MDI Child Forms | Microsoft Docs[^]
4 Oct 2013 by Madhu Nair
Write Login.hide() before Main.show()
4 Jul 2013 by Manuel Torres
Buenas,Quisiera saber como puedo crear un formulario que por medio de un boton me llame una aplicacion (.exe) fuera del proyecto y que esté contenida dentro del formulario.He visto muchos ejemplos pero no logro todavía realizarlo.Actualmente estoy usando Visual Studio 2010De...