Maybe you can extend your new Start Menu so that StartMenuButtons enlarge while moving the mouse over like on the Macintosh? I think this could look good even with buttons with rectangle borders like your StartMenuButtons.
Here is our proposed new feature to enlarge the Start Menu Button based on a Multiplier in the public properties.
//<under properties>
double Multiplier_Down = 1.0;
int StartHeight;
int StartWidth;
[Description("The Multiplier to increase the button size on Mouse over.")]
[Browsable(true)]
public double Multiplier
{
get
{
return this.Multiplier_Down;
}
set
{
this.Multiplier_Down = value;
createDrawingTools();
this.Invalidate();
}
}
Just to give you a little more information on the feature addon code listed in our previous comment. The Multiplier is used to enlarge the button by the amount entered in the Multiplier property times the height and width of the button size. This occurs on the mouse enter event. When the mouse leave event is triggered the size property are set back to the original size of the button.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your work guys! I'll run a few tests tommorow and include the feature in the next release. I've been creating some new features too so the new version will come out soon.
Timo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It would be one hell of a feature! I'll try that as soon as I get home!! :D Nice thinking!
Here is our proposed new feature to enlarge the Start Menu Button based on a Multiplier in the public properties.
//<under properties>
double Multiplier_Down = 1.0;
int StartHeight;
int StartWidth;
[Description("The Multiplier to increase the button size on Mouse over.")]
[Browsable(true)]
public double Multiplier
{
get
{
return this.Multiplier_Down;
}
set
{
this.Multiplier_Down = value;
createDrawingTools();
this.Invalidate();
}
}
//<under events>
private void CloudStartMenuButton_MouseEnter(object sender, EventArgs e)
{
if (isAnimated == true)
{
isOpacityIncreasing = true;
timer1.Start();
}
isMouseHovering = true;
StartWidth = this.Width;
StartHeight = this.Height;
this.Width = (int)(this.Width * Multiplier_Down);
this.Height = (int)(this.Height * Multiplier_Down);
this.Invalidate();
}
private void CloudStartMenuButton_MouseLeave(object sender, EventArgs e)
{
if (isAnimated == true)
{
isOpacityIncreasing = false;
timer1.Start();
}
else
{
isMouseHovering = false;
this.Invalidate();
}
isMouseLeaved = true;
this.Width = StartWidth;
this.Height = StartHeight;
this.Invalidate();
}
Just to give you a little more information on the feature addon code listed in our previous comment. The Multiplier is used to enlarge the button by the amount entered in the Multiplier property times the height and width of the button size. This occurs on the mouse enter event. When the mouse leave event is triggered the size property are set back to the original size of the button.
Thanks for your work guys! I'll run a few tests tommorow and include the feature in the next release. I've been creating some new features too so the new version will come out soon.
Timo
I'll test it today