![]() Maybe it is itm.Click, but in that case i get another kind of error:ĮrrorĒ The event '.Click' can only appear on the left hand side of = or -=Ĝ:\Users\Lost\Documents\Visual Studio 2008\Projects\School_project_work\School_project_work\Teacher\Form1.csĒ3ĕ1 School_project_workĮrrorē 'WindowsFormsApplication1.Form1' does not contain a definition for 'menuitem' and no extension method 'menuitem' accepting a first argument of type 'WindowsFormsApplication1.Form1' could be found (are you missing a using directive or an assembly reference?)Ĝ:\Users\Lost\Documents\Visual Studio 2008\Projects\School_project_work\School_project_work\Teacher\Form1.csĒ4Ē2 School_project_work I can't understnad waht this part is doing, on the right side it is MenuItem, I need menustrip1 item, is it the same?.ĮrrorĒ The name 'itm_Click' does not exist in the current contextĜ:\Users\Lost\Documents\Visual Studio 2008\Projects\School_project_work\School_project_work\Teacher\Form1.csĒ3Ĕ7 School_project_work It gives all kind of errors:ĮrrorđĜannot implicitly convert type '' to ''Ĝ:\Users\Lost\Documents\Visual Studio 2008\Projects\School_project_work\School_project_work\Teacher\Form1.csĒ2ē7 School_project_work Itm.Click = new EventHandler(itm_Click) //assign event handlers for the OnClick event ToolStripItem itm = new MenuItem(tbl.Title) //Create a new menuitem Yeah that was my mistake, but now I am getting more errors in this: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |