Razan Paul Blog
Explaining thoughts and findings is a great way to learn
-
Implementation of Auto Logoff based on User Inactivity in WPF Application
In some applications, we need to implement Auto logoff feature for security reason. In auto log off feature, the application redirects the user into login window, if the user remains inactive for a certain amount of time. I have just published how I came up with implementing auto logoff feature based on user inactivity in WPF application.
-
Making a Drop Down Style Custom Color Picker in WPF
Although WPF provides quite a rich collection of UI controls and components for development, a particular control has been missing. That is a color-picker control. I have just published how I came up with making a drop down style custom color picker in WPF.
-
Perspective camera animation on a cube in WPF 3D
I have started WPF 3D at my work. Actually, i wanted to make roll animation effect using WPF 3D. After some R&D, I came up with roll animation using 2D animation, which I described in my previous blog post. At first, I tried to make roll animation using perspective camera rotation. For that, I have made a sample program, which I am discussing in this blog post. In this sample program, a 3D cube rotates along the y-axis. The animation looks like the following:
-
Creating a Roll animation effect in WPF
I know one picture can tell what the Roll animation looks like instead of writing many sentences. The animation looks like the following:
-
Wheel Clockwise animation in WPF
This animation is like the Wheel Clockwise, 1 spoke, animation of MS power point. Some people also call this animation as Radial animation. This animation starts from a line, which points from the centre to top middle, and then it rotates 360 degrees in clockwise direction and makes the underlying object visible. I know one picture can tell what is the animation looks like instead of writing many sentences. The animation looks like the following:
-
Making circle animation in WPF
-
Creating marquee/scrolling text in WPF
-
Some thoughts about how we can make a thread safe class library
What is Thread safety?
-
How can we convert a local path to a UNC path in c#?
Uniform Naming Convention (UNC): According to wiki, UNC specifies a common syntax to describe the location of a network resource, such as a shared file, directory, or printer in Windows OS.
-
How to pick numbers at random from a given set of numbers in c#
The Random class defined in the .NET Framework provides functionality to generate pseudo-random number. According to MSDN, the current implementation of the Random class is based on Donald E. Knuth's subtractive random number generator algorithm. The random number generation starts from a seed value. If the same seed is used repeatedly, the same series of numbers is generated. One way to produce different sequences is to make the seed value time-dependent, thereby producing a different series with each new instance of Random.