By tag: events
0
kicks
Advanced Programming with C#
This is the third part of a series of tutorials on C#. In this part we are going to discuss exciting features of C# like dynamic programming using the DLR or using the meta-data information known as reflection. We will also extend our knowledge on the .NET-Framework by getting to know the abstract S...
0
kicks
nvents - .NET events across the network
Open source library for strongly typed publishing/subscribing of events. Events.Subscribe<FooEvent>(e => ..), Events.Publish(new FooEvent()).
0
kicks
Employment of Events is changing...
Until recently I used to see events mainly from the event consumer side. Recently however this has been changing, as Silverlight, asynchrounous, and parallel processing introduced new features, demands, and patterns.
0
kicks
ASP.NET: Attach an OnChanged Event to your own User Controls
How do you make a custom control post back to the server each time a user interacts with it? (a la OnSelectedChange in a DropDownList).
Although this sounds trivial at first I haven't found lots of resources mentionning this.
0
kicks
WPF & Windows 7 Screencast
WPF & Windows 7 Screencast
Published by ejadib on August 10, 2009 11:01 am under Client Development, Events, Screencasts, WPF, Windows 7, Windows Presentation Foundation Edit
Last week, we recorded with Matias Woloski an screencast for the Windows 7×7 campaign (Alberto Ortega blogged ...
0
kicks
Detect Browser refresh to avoid events getting fired again in ASP .NET
If you have created a aspx page using C# and ASP.NET and have put a button on it , and in the Click event of this button if you are inserting some data in database , after click if user refresh the page than click event gets fired again resulting data insertion to database again, to stop events on t...
0
kicks
Passing references to events (almost)
Have you ever needed to pass a reference to an event into another object? Think you can't do it in C#? This article shows how you can - some times!
0
kicks
Some tips on writing event handling code in C# .NET
You can drop a lot of repetitive code in C# event declaration and raising (including some EventArgs declarations, defining custom delegates, checking for nulls) if you follow these tips.
0
kicks
unit testing your events
In this article I will show you how you can unit test your events. I will show you a simple technique that will enable you to test if your events fire exactly as often as you want them to and I will provide you with two implementations. One implementation works well with the .NET Framework 2.0 and t...
0
kicks
Dynamically adding controls to ASPX pages (web forms) and assigning ev
Although I've seen a lot of articles describing how to dynamically add controls to a Web Form, few mention even a little hint to how you can make event handlers actually WORK with dynamically-added controls. This article may seem (and probably is) a beginner-level one, but I think it's essential to ...
0
kicks
Unit test pattern for event raising
Use of C# anonymous delegates to easily test for an event firing.
0
kicks
Solving the Problem with Events: Weak Event Handlers
One of the greatest frustration of working with delegates and events is that they can potentially cause memory leaks if they aren't unhooked. In this article, we will solve this problem in a variety of ways to get the best performance, memory use and syntax.
0
kicks
Catch-up Events
Catch-up Events in ASP.NET - an example of how you can see how it all works.
0
kicks
Upcoming Northeast (USA) Developer Events
Here's a listing of many of the upcoming events in the New England and upstate NY regions potentially of interest to .NET developers.
0
kicks
Video: Creating Custom Events and Delegates with C#
It's no secret that events and delegates play a crucial role in the .NET framework. Without them it would be hard to handle user input or notify other objects when an action occurs. In this video Dan Wahlin outlines the fundamentals of creating a custom class that exposes an event and a delegate. ...