FIX: ??? ??? ???? ??? "????? ????" ????? MDI ???? "? ??????? ???????? ????

?????? ????????? ?????? ?????????
???? ???????: 322171 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ????? ????? ??????? (MDI) ????? ??????? ??????? ?? ??????? ?? ????? ??????? MdiList ??? True ? ??? ????? ??? MenuItem ? ???? ????? ?????? MenuItem ???????? ??.

????

??????? ????? ??????

??? ??? ??????? ??? ?????? ??? Post-Service Pack 2 .NET Framework System.Data ? ???? ????????? WinForms. ?????? ??? ??????? ??????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
328535INFO: ???? ????????? WinForms ? Post-Service Pack 2 .NET Framework System.Data

??????? ??????? ??????

????? ???? ????? ???? ????? ?? Microsoft ???? ????? ??? ?? ?? ??????? ??????? ?? ??? ??????? ???. ??? ?????? ??? ??????? ???? ????? ??? ??????? ????????. ?? ??? ????? ???????? ?????? ??? ??? ??????? ??????. ?????? ??? ?? ??? ????? ??? ??????? ??????? ???? ????????? ??? ??????? ?????? ?? ???? ???? .NET Framework ????? ????? ??? ??? ??????? ??????.

??? ??? ??????? ?????? ???? ?????? ??? ???????? ?? Microsoft "?????? ??? ???????. ?????? ??? ????? ????? ?????? ?????? ????? ??? ?????? Microsoft ???? ??????? ??? ?????? ?????? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://support.microsoft.com/contactus/?ws=support
??????: ?? ??? ???????? ?? ??? ????? ????????? ???? ?????? ????? ??? ??????? ????? ??? ??? ?????? ????? ??? Microsoft ?? ??????? ?????? ??? ???? ??? ?? ???????. ???? ????? ?????? ????? ???????? ??? ????? ????? ???????? ????????? ???? ?? ???? ??? ???? ??? ???????.

????? ????? ?????????? ?? ??? ??????? ???? ????? (?? ??????) ???????? ?? ?????? ??????. ??? ??? ???????? ???????? ?????? ???? ??????? ???????? ??????? coordinated (UTC). ????? ???? ???? ??????? ?????? ??? ??????? ??? ??????? ??????. ?????? ????? ??? ??????? ??????? (UTC) ???????? ??????? ?????? ????? ??????? ??????? ??????? ?? ???? ??????? ?????? ?? "???? ??????".
   Date          Time    Version        Size        File name
   -------------------------------------------------------------------------
   02-May-2002   19:48   1.0.3705.269   1,982,464   System.windows.forms.dll  
   02-May-2002   10:05                     16,696   System.windows.forms.ldo
   02-May-2002   10:00   1.0.3705.269      57,344   System.windows.forms.tlb
				

?????

???? Microsoft ?? ??? ????? ?? ?????? Microsoft ??????? ?? ????? ??? ???????.

??????? ????

????? ????? ????? ?? ????

?????? ??????? ??????? Visual C# ?????. ???? ?????? ?????? ?????? ?? Visual Basic ??? ???????.
  1. ??? ????? ????? Windows ???? ??? Visual C# ?????.
  2. ??? ??? Form1.cs ?? ?? ???????? ??????? ?????? ?? ????? ???????? ???????? ???????:
    namespace MDIMenu
    {
    	using System;
    	using System.ComponentModel;
    	using System.Drawing;
    	using System.Windows.Forms;
    
    	public class MainForm : System.Windows.Forms.Form 
    	{
    		/// <summary>
    		///    Required designer variable.
    		/// </summary>
    		private System.ComponentModel.Container components;
    		private System.Windows.Forms.MainMenu mainMenu;
    
    		public MainForm() 
    		{
    			// 
    			// Required for Windows Form Designer support
    			// 
    			InitializeComponent();
    
    			//Setup MDI stuff
    			this.IsMdiContainer = true;
    
    			//Add Window Menu
    			MenuItem miWindow = mainMenu.MenuItems.Add("&Window");
    			miWindow.MenuItems.Add("&Cascade");
    			miWindow.MenuItems.Add("Tile &Horizontal");
    			miWindow.MenuItems.Add("Tile &Vertical");
    			miWindow.MdiList = true ;
    			// Adds the MDI Window List to the bottom of the menu.
    
    			//Add Help Menu
    			MenuItem miHelp = mainMenu.MenuItems.Add("&Help");
    			miHelp.MergeType = MenuMerge.MergeItems;
    			miHelp.MergeOrder=0;
    			miHelp.MenuItems.Add("&About");
    
    			Document doc = new Document();
    			doc.MdiParent = this;
    			doc.Show();
    		}
    
    		/// <summary>
    		///    Clean up any resources being used.
    		/// </summary>
    		protected override void Dispose(bool disposing)
    		{
    			if (disposing) 
    			{
    				if (components != null) 
    				{
    					components.Dispose();
    				}
    			}
    			base.Dispose(disposing);
    		}
    
    
    		/// <summary>
    		///    Required method for Designer support - do not modify
    		///    the contents of this method with the code editor.
    		/// </summary>
    		protected void InitializeComponent()
    		{
    			this.components = new System.ComponentModel.Container ();
    			this.mainMenu = new System.Windows.Forms.MainMenu ();
    			this.Text = "MDI Menu Bug";
    			this.AutoScaleBaseSize = new System.Drawing.Size (5, 13);
    			this.Menu = this.mainMenu;
    			this.ClientSize = new System.Drawing.Size (450, 200);
    		}
    
    		/// <summary>
    		/// The main entry point for the application.
    		/// </summary>
    		[STAThread]
    		public static void Main(string[] args) 
    		{
    			Application.Run(new MainForm());
    		}
    
    	}
    }
    					
  3. ????? ????? ???? Windows ?? ???????. ?? ????? ???? ?????? ????????? ???????? ???????? ????? ???????? ???????? ???????:
    namespace MDIMenu 
    {
    	using System;
    	using System.ComponentModel;
    	using System.Drawing;
    	using System.Drawing.Text;
    	using System.Windows.Forms;
    
    	public class Document : System.Windows.Forms.Form 
    	{
    		/// <summary>
    		///    Required designer variable.
    		/// </summary>
    		private System.ComponentModel.Container components;
    		private System.Windows.Forms.MainMenu mainMenu;
    
    		public Document() : base() 
    		{
    			// 
    			// Required for Windows Form Designer support.
    			// 
    			InitializeComponent();
    
    
    			//Add File Menu
    			MenuItem miHelp = mainMenu.MenuItems.Add("&Help");
    			miHelp.MergeType = MenuMerge.MergeItems;
    			miHelp.MergeOrder=0;
    			miHelp.MenuItems.Add("This Child Menu 
                                              should not appear when clicked on Window menu");
    		}
    
    		/// <summary>
    		///    Clean up any resources being used.
    		/// </summary>
    		protected override void Dispose(bool disposing)
    		{
    			if (disposing) 
    			{
    				if (components != null) 
    				{
    					components.Dispose();
    				}
    			}
    			base.Dispose(disposing);
    		}
    
    		/// <summary>
    		///    Required method for Designer support - do not modify
    		///    the contents of this method with the code editor.
    		/// </summary>
    		private void InitializeComponent()
    		{
    			this.components = new System.ComponentModel.Container();
    			this.mainMenu = new System.Windows.Forms.MainMenu();
    			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
    			this.Text = "Child Window";
    			this.ClientSize = new System.Drawing.Size(392, 117);
    			this.Menu = mainMenu;
    			this.WindowState = FormWindowState.Maximized;
    		}
    	}
    }
    					
  4. ?? ?????? ??????? ?? ???? ??? ??????? ????. ???? ??????? ???????.

???????

???? ???????: 322171 - ????? ??? ??????: 04/???? ??????/1435 - ??????: 3.4
????? ???
  • Microsoft .NET Framework 1.0
????? ??????: 
kbnosurvey kbarchive kbmt kbhotfixserver kbqfe kbnetframe100presp2fix kbnetframe100presp3fix kbbug kbfix kbqfe kbwindowsforms KB322171 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????322171

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com