Finally... I managed to create 2 new cool widget control, calculator & calendar. This application was developed using Microsoft Expression Blend 2 SP1 and Visual Studio 2008 SP1. This is what I do during free time.
Currently this 2 widget have been published at silverlight.net showcase. To be more specific, in the showcase page, click on the geography menu at the top left corner, then click on the Malaysia flag.
Silverlight Calculator Control
A smooth blend effect when you hover your mouse on the buttons.
click here to see the live demo
now in codeplex
Silverlight Calendar Control
A smooth blend effect to the gradient background color when you pick any color provided at the bottom of the calendar.
click here to see the live demo
now in codeplex
Nice work. i like to look and feel.
ReplyDeletei hope you will continue on that widgets and take further enhancement to include scientific calculator and tagged the calendar with special events.
Hi murad,
ReplyDeleteI am Vijendra.
I had seen your calendar control in silverlight.net website
It was so good that I fell in love with it.
But..
How do i change the function from taking single background color to a function which can take a gradient color
here is the code snippet to change the gradient background color :-
ReplyDelete//Event when click the circle color
void selectBackground(object sender, MouseEventArgs e)
{
Brush scb = ((Rectangle)sender).Fill;
SolidColorBrush b = scb as SolidColorBrush;
changeBackground(b.Color);
}
// Change the background color.
void changeBackground(Color selectedColor)
{
MainBgColorAnimation.To = selectedColor;
MainBgStoryboard.Begin();
}
Again you are dealing with solid brushes
ReplyDeleteI need a gradient brust
And why are you using (rectangle)?
Thanks,
Vijendra
The gradient part is done by the color animation. You just need to supply the solid color brush.
ReplyDeletehope this will settle your doubts.
..another cool samples. kudos dude.
ReplyDeleteNow.. try on 'Jawa' calender , perhaps? :)