events

Excel autofill event in C#

I'm writing an Excel add-in using C# and need to be able to tell when users autofill cells. How can I catch the autofill event? ...

Getting a system-clock-change-tick in C#

Is their a way to execute a delegate or event in C# when for instance the seconds, minutes, hours,... change in the system-clock, without using a timer that checks every millisecond if the property has changed and executes the event with a delay of maximum a millisecond. ...

how to create 5 buttons and assign individual click events dynamically in c#

Hello Members, I need your help in C# code. I need to create 5 buttons dynamically on windows form and each button should respond to click event. I tried it but all buttons are responding to same event. ...

User Control Events and Overrides

I have a User Control for typical CRUD like actions on my WinForm app. Validate, Insert, Update, Clear, Cancel, and Delete. On every form I put this on I end up adding the click event, ucPersonNav.btnValidate.Click += new EventHandler(btnValidate_Click);, for every button. What I am wondering is can I have the Events be on the User C...

can I programmatically examine and modify Javascript event handlers on html elements?

I am doing browser automation using C#, and I would like to modify or possibly just eliminate event handlers on some of the html elements in webpages that I am looking at. E.g., suppose there is a button there which might (or might not) have an attached onClick event. How do I go about: - finding out if there are any event handlers attac...

Orange County .NET Developers Meetings/ Events

Hi, How can I learn where .NET developers meets and organize events ? Google gives me nothing for that query. I really wanna attend those events and meetings. Thanks. ...

In a C# event handler, why must the "sender" parameter be an object?

According to http://msdn.microsoft.com/en-us/library/h0eyck3s%28VS.71%29.aspx the sender parameter in a C# event handler "is always of type object, even if it is possible to use a more specific type." This leads to lots of event handling code like:- RepeaterItem item = sender as RepeaterItem if (RepeaterItem != null) { /* Do some stuff...

VSTO Outlook integration - Outlook shutdown event for synchronization

I'm working on a VSTO Outlook 2007 add-in that basically synchronizes Outlook data with web service. There are three types of synchronization that I want to have in the app: startup sync, manual sync and sync on shutdown. The first two as simple and are already done. However I have problems finding an appropriate event to fire to handle...

Mojo.Event.tap - how to get tap coordinates?

Hello, I am having difficulty with finding out how to get tap coordinates from tapEvent object, which is passed to my custom handler (I didn't find it's specification anyway). There is also singleTap event, which passes custom variables "X" as "Y", which is coordinates, i guess, but I can't invoke that one in Emulator. The point is tha...

detect ctrl+left click in winforms application

detect ctrl+left click (for button) in winforms application ...

.NET Extenstion Events

I want to add events to some built in .NET classes. For example I want to add the following events to a generic List(T): ItemAdded ItemRemoved ListChanged etc I can think of a few ways to accomplish this, but I'm not sure which approach is best. I could use "extension events", that is, if there is such a thing or a way to use exte...

JQuery custom event in ASP.Net User Control

I have an ASP.Net user control that contains some checkboxes, and I want to use JQuery to raise an event from the user control when one of the checkboxes is clicked. Here is the JQuery code in the user control where I'm trying to raise the event: $(document).ready(function() { $(':checkbox').click(function(){ ...

Shift + mouseover with jQuery

I'm trying to detect whether the shift key is being pressed while the cursor is moved over a particular element. The function fires, but only after I click on another element first. Is there some way to work around this? I've tried setting focus to both the document and element, and tried creating a pseudo-click function but so far nothi...

How can I receive notifications of filesystem changes in OS X?

In Windows, I can use the FindNextChangeNotification API to watch a file or folder for changes. For example, I can watch a folder and get notified when a file is added or removed. Is there a similar API on OS X? ...

Is there any difference between Console and WPF application? (Event cross AppDomain)

Hello there, I built some assemblies, one of them is to provide some functionalities and some events. some relationship as below: Assembly A is one interface facade component, it declares all service interfaces. Assembly B is one "Mock" implementation of all interfaces declared Assembly A (include event) Assembly C is one "Real" imple...

Drupal 6: How do I only call up "events" by upcoming date?

I am a newbie to Drupal so this may be a simple answer... I am building a site that on the homepage I want to be able to call up events that will happen in the next 6 months and then disappear after the event has past. I have made a field called event_start_date that you can enter the "From" and "To" dates. I already used Views to call ...

Route events on an object to another object

I am looking to route/redirect all events which occur on a target origTarget to another object otherObject. I want to accomplish something like this: /* Magic binding (doesn't work!). */ $(origTarget).bind('*', function(e) { $(otherObject).trigger(e); }); Is this possible with jQuery without looping through every possible event t...

Event Viewer sorting data

How can I filter the Event viewer by databinding it in a gridview? ...

Binding JQuery events

Hi all. JQuery events are annoying me. The thing is that I very often use javascript (after ajax requests, etc.) to draw up new elements (buttons, divs, etc.). I've got a list of elements which you can press on an edit button so you can manipulate the one linked to the selected edit button. Now if someone submits a form to make a n...

Create a jQuery special event for content changed

I'm trying to create a jQuery special event that triggers when the content that is bound, changes. My method is checking the content with a setInterval and check if the content has changed from last time. If you have any better method of doing that, let me know. Another problem is that I can't seem to clear the interval. Anyway, what I n...