G
Gavin
I'm trying develop a SmartPhone application in C#.
But it's bad!
It just can't create menuitem as following code.
---------------------------------------------------
this.mainMenu = new System.Windows.Forms.MainMenu();
this.menuItem1 = new System.Windows.Forms.MenuItem();
this.menuItem11 = new System.Windows.Forms.MenuItem();
this.mainMenu.MenuItems.Add(this.menuItem1);
this.menuItem1.MenuItems.Add(this.menuItem11); <- Fail
But it's bad!
It just can't create menuitem as following code.
---------------------------------------------------
this.mainMenu = new System.Windows.Forms.MainMenu();
this.menuItem1 = new System.Windows.Forms.MenuItem();
this.menuItem11 = new System.Windows.Forms.MenuItem();
this.mainMenu.MenuItems.Add(this.menuItem1);
this.menuItem1.MenuItems.Add(this.menuItem11); <- Fail