I may have gone crazy... but I am hoping there is a way to do this.
I have a base class that has event handling in it. My console application is running my workflow. Part of that workflow is to raise events at specific intervals in a separate thread to broadcast the workers' current state (a heartbeat I have heard many call it).
I also...
Using VB 2008 .NET 3.5
I am working on an N-Layer desktop application.
Suppose a method in the BLL runs into an situation where the user needs to be notified and the method needs to wait for the user input (OK, Cancel, etc.) before continuing. How do you typically handle this?
Assume that this situation happens fairly often but not a...
I'm trying to create a custom control and need to raise an event from it. The idea is to raise an event at the end of the click event (OnAfterClick). I found one or two tutorials on doing this, but am clearly missing a step somewhere; I have the following.
In the control:
public class AfterClickEventArgs : EventArgs
{
...
}
public...
I'm trying to extend my new WPF Touch Screen Keyboard (DLL) Library, to allow the user to get events from the Touch Screen Object. I'd like to be able to tell the Programmer what Object made the call (or executed the subroutine) that raised the event. Not dissimilar to the Sender as Object event parameters one gets when working with a Sy...
Hi.
I'd like to fire a SelectionChangedEvent. What I have is this:
Fluent.ComboBox fcb = elt as Fluent.ComboBox;
fcb.RaiseEvent(
new SelectionChangedEventArgs(
null,
new List<double>() { (double)fcb.SelectedItem },
new List<double>() { fontSize })
);
My question is what I have to insert for the null parameter. The constructor expe...
I have successfully created an insert before trigger on a table using the innodb engine which "throws" an error by performing an insert on a non-existent table. The problem is that as I try to run the database create script on the production server it fails because the insert table does not exist. However, the same script runs fine on my...