Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

WinForms user controls, for VB or C# projects: Button Control Array, Oval Shape, Rectangle Shape, Rotating Image, Rotating Text Button and Rotational Position Indicator (gauge).

License

Notifications You must be signed in to change notification settings

GitHubDragonFly/WinForms_User_Controls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reality Check

Just for those of you who might be concerned about the Climate Change, here are couple of sobering insights:

  • Neil deGrasse Tyson's perspective on climate change: YouTube Video
  • My perspective, with statements from two AI entities: Climate Change

UserControls

Relatively simple WinForms user controls for VB or C# projects.

Screenshots

All User Controls

Oval Shapes

Rotating Text Button

Functionality

  • ButtonControlArray
    • an array of Button controls where each button's click event can be associated with a different action.
    • actions are defined in the code.
  • MyOvalShape
    • an oval shape control which could be manipulated to look as an LED light or just a decoration on the form.
    • allows for the Arc and Pie fill shapes to have symmetry and rotate (animation).
    • boolean switchable colors of the outer ring and the fill.
  • MyRectangleShape
    • somewhat similar to the oval shape control but in rectangular form.
  • RotatingImage1
    • a control that allows an image be rotated and/or flipped while being fully visible (no cut corners).
    • middle-center anchor point for image rotation.
    • fixed aspect ratio.
  • RotatingImage2
    • a control that allows an image be rotated and/or flipped (with cut corners).
    • allows 9 different anchor points for image rotation.
    • fixed or free aspect ratio.
    • intended for special images.
  • RotatingTextButton
    • a button control allowing horizontal, vertical and upside down text.
    • certain fonts will show as symbols.
  • RotationalPositionIndicator
    • a control to indicate rotational position/angle.
    • could potentially be used as a weather vane.
    • zero/home position could be selected as either of E (0), N (90), W (180) or S (270).

Check the screenshots for possible visual appearances of each control. Read any comments present within the control's code.

Usage

  • Download and extract the zip file of this repository.
  • In your project, either use the project itself or create a new folder, right-click it and add controls as Existing Items, rebuild the solution and locate these in the Toolbox.

Licensing

These are all licensed under MIT License.

Trademarks

Any and all trademarks, either directly or indirectly mentioned in any of the controls, belong to their respective owners.

Useful Resources

The AdvancedHMI website forum, which is another open source project providing a large number of user controls including a special version of all the controls included in this repository.

About

WinForms user controls, for VB or C# projects: Button Control Array, Oval Shape, Rectangle Shape, Rotating Image, Rotating Text Button and Rotational Position Indicator (gauge).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published