winladen

Stories submitted by winladen

A Brief Introduction to Multi-threading in C# (Part2:Manage Threads Ma(theblogfor.net)

submitted by winladenwinladen(35) 2 years, 2 months ago

From the previous post, Part1:CLR-Managed Thread, what if you want absolute control over the execution of the threads. Here are the ways: - Thread Monitor - Interthread Signaling read more...

add a comment |category: |Views: 8

tags: another

Print Stack Trace of Exceptions(theblogfor.net)

submitted by winladenwinladen(35) 2 years, 4 months ago

My story today is about exception stack trace. How we gonna make use of inner exception. read more...

add a comment |category: |Views: 8

tags: another

Dependency chain resolution using IoC container(theblogfor.net)

submitted by winladenwinladen(35) 2 years, 8 months ago

When you have a dependency between two modules, that modules are not well-separated with each other which are not good when design a large application that needs to be modularized and independent. IoC (Inversion of Control or Dependency Injection whatever), as name suggested, comes to rescue us and resolve the problem by injecting an external dependencies to our modules and using the container (that is injected) to decouple the dependencies between modules, so now the dependencies are inverted to our container and that container will control and manage the rest. read more...

add a comment |category: |Views: 25

tags: another

Content-Aware Image Resizing using GDI+(theblogfor.net)

submitted by winladenwinladen(35) 2 years, 8 months ago

oday, my intention here is to show you some power of GDI+. Though GDI+ doesn't do well in image processing comparing to others like C++, DirectDraw but at least just make it in GDI+ with C#. You'll see that how can C# manipulate image data. Content-Aware Image Resizing ,or in another word Seam Carving, concept is proposed by Avidan and Shamir presented at Siggraph 2007. read more...

add a comment |category: |Views: 51

tags: another

Make use of the Behavioral State Pattern(theblogfor.net)

submitted by winladenwinladen(35) 2 years, 10 months ago

When implementing this pattern ,you expect the behavior of objects to be changed when their internal state changes ,for example ,when you move your mouse around (like now) ,your mouse behavior is... read more...

add a comment |category: |Views: 12

tags: another

Observer Design Pattern Implementation(theblogfor.net)

submitted by winladenwinladen(35) 2 years, 10 months ago

Today I'll create one simple example that uses Observer behavioral pattern of the GOF. Observer pattern is used when you want other objects to be notify when something happens with a particular object.... read more...

add a comment |category: |Views: 32

tags: another