Re: How can I access the MainForm from within a class in a separate project? Programming Software Development by kplcjl EventHandlers are one form of a delegate. ShapeValueChanged is the delegate. … How to Send SNMP trap to particular host in Nagios Hardware and Software Networking by sujinsr …Normal FORMAT SNMPv2c notification $* EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result localhost WSN_COUNT 1 "SNMPv2c notification $*" SDESC… FORMAT SNMPv2c notification $* EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result ubuntu WSN_COUNT 1 "SNMPv2c notification $*" SDESC… Custom UserControls Throwing Events Up the Hierarchy Programming Software Development by MetalHobin … setting my Controls as [B]public[/B] and then adding EventHandlers and implementing them. This is a sticky way of doing… Re: Change Button Name Programming Software Development by jonesc5 … now though so I can't check. [code] button1.EventHandlers.clear() button1.EventHandlers += new eventhandler(button2_click); [/code] although if you are going… Re: Java GUI suggestions needed Programming Software Development by autorunman22 The poster above ^ dont seem to understand you. Well, i used to stick with this method: 1. Create the GUI classes with no program designs. 2. Create the EventHandlers classes and attach it to the GUI classes. 3. Create the Program Designs that contains objects of GUI and EventHandlers, thru there, manipulate your GUI. Done? Re: New textbox in user control broke datagrid sorting Programming Web Development by alc6379 Yeah... the Visual Studio designer is nice... sometimes. I've had it do all kinds of crazy things, like make new EventHandlers when there's nothing at all wrong with the one you already built. It's just one of the quirks I've come to live with... Re: Frustrating Firefox Problem while making AJAX request on an anchor Programming Web Development by ximath …'ve done there is instead of adding onclick and onmouseover eventhandlers in HTML, you specify them in javascript so that they… Re: Frustrating Firefox Problem while making AJAX request on an anchor Programming Web Development by langsor …'ve done there is instead of adding onclick and onmouseover eventhandlers in HTML, you specify them in javascript so that they… Re: Date Picking from windows form Calender Programming Software Development by ddanbe DateRangeEventArgs [B]e [/B]has a [B]Start [/B]and [B]End [/B]method, which both return a DateTime object. Do processing in your eventhandlers initialising is done in the constructor. I would use a DateSelected event if I wanted to know the date selected. Re: Threading Programming Software Development by nick.crane … with parameters. UpdateTextBox(newText); } // delegate we define ourselves // Note: the EventHandlers are also delegates with parameters public delegate void UpdateTextBoxHandler(string… Re: chat program error Programming Software Development by GeekByChoiCe tcpclient.Close() <<< thats the reason this code is made for demonstration only and closes after first receive. You have to add some eventhandlers for client connect, receiving and so and only close the tcpclient if you really want it. Re: What is causing this to crash? Programming Software Development by Fbody I don't do anything with GUIs or CLI, but I noticed you are using the compound addition operator to attach the EventHandlers. Maybe I'm missing something, but shouldn't that be the regular assignment operator, not a compound operator? Re: What is causing this to crash? Programming Software Development by jonsca … you are using the compound addition operator to attach the EventHandlers. Maybe I'm missing something, but shouldn't that be… Re: Hangman Programming Software Development by ddanbe Just use one click handler instead of twenty or so. [CODE=c#]private void button1_Click(object sender, EventArgs e) { Button btn = sender as Button; //find out which button letter = btn.Text; //get the letter //etc }[/CODE] Let all the eventhandlers point to the same Click. Re: Button Second Click Programming Software Development by GeekByChoiCe … to this button, because the button got created AFTER the eventhandlers got added to your form. Hope i could explain it… Re: event & delegate Programming Software Development by skatamatic … is met, the event is called and the method executed. EventHandlers are used to subscribe to events - an event can have… Re: How can I access the MainForm from within a class in a separate project? Programming Software Development by SoftwareGuy … it the first way and had me do it with EventHandlers. Inside the main sub-class event he had me call… Re: Many Labels in an Event Handler Programming Software Development by Minimalist … the imports. Look what you need to put into the eventhandlers and what the events are.Example: Detect on the label… Re: [win32] - about HiliteMenuItem() funtion and menu mouse move selection Programming Software Development by triumphost … becomes quite easy to make Object-Oriented Menus and call EventHandlers on the corresponding menu. Another thing that I did was… Dynamic Controls and EventHandlers Programming Software Development by stimp80 I'm working on a Windows Form Application in Visual Studio 2010. I have a Database that I am using to pull data to dynamically create checkboxes inside a loop. In between each of these, I'm creating a child loop to create more checkboxes from a sorted DataSet. At the end of each of the internal loops, I'm creating a TextBox and a Button to …