I have used eventbox to park a image . but I need many eventbox and image. when I click the eventbox, how can I know which eventbox I have clicked. it seems I can not use eventbox array. when I use following code, it cause error. static EventBox[] eventboxm;
eventboxm[0]=new EventBox(); thanks ----- Original Message ----- From: "Peter Dennis Bartok" <[EMAIL PROTECTED]> To: "roy" <[EMAIL PROTECTED]>; <[email protected]> Sent: Wednesday, December 22, 2004 10:45 AM Subject: Re: [Mono-list] about popup a menu > Roy, > > You probably should pick up a book about System.Windows.Forms programming. > It will teach you how to use the different controls. > > The control you need to use to do a popup menu like this is called > ContextMenu, you need to attach it to the ContextMenu property of Control. > > Peter > > -----Original Message----- > From: "roy" <[EMAIL PROTECTED]> > To: <[email protected]> > Date: 21 December, 2004 16:03 > Subject: [Mono-list] about popup a menu > > > hi, > it's really nice to attend this mail-list. > I want to popup a menu when I right-click a eventbox. like when I > right-click a file and select copy or paste on windows. I am programming by > using mono on linux. can you give me a hand? > roy > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
