i have context menus & want the menu items font style to change to bold whenever the mouse moves over, and return to regular when it leaves.
Private Sub EmnuExitMenu_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles EmnuExitMenu.MouseLeave
Me.EmnuExitMenu.Font = New Font(Me.EmnuExitMenu.Font, FontStyle.Regular)
Private Sub EmnuExitMenu_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles EmnuExitMenu.MouseMove
Me.EmnuExitMenu.Font = New Font(Me.EmnuExitMenu.Font, FontStyle.Bold)
work fine, however
is there a way to define this globaly for all menus through out the entire applications.
Private Sub EmnuExitMenu_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles EmnuExitMenu.MouseMove, EmnuOne.MouseMove, EmnuTwo.MouseMove
Dim mnu As ToolStripMenuItem = CType(sender, ToolStripMenuItem)
mnu.Font = New Font(mnu.Font, FontStyle.Bold)
write a C++ program which take inputs from the user/keyboard and calculate his ZAKAT.
get the input from user may include
-Amount invested in business
-Amount given to other business partners as loan
-Amount payable to others
I made a prime number finder, it finds the nearest prime that is above and below any integer (Does not work that well with giant numbers.)
Made this in cpp.sh
Why would I need the x=y+1-1;?
x=y; just doesnt seem to work
Why is this?
And I know my coding ...