Skip to content

Using only the Graphics library, drawing on an invisible form including images and icon. Creating interactive buttons an input boxes.

License

Notifications You must be signed in to change notification settings

gavin1970/SwitchWinForms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwitchWinForms

For now, Repo is private, these will all states Repo Not Found.
Contributors Forks Stargazers Issues MIT License


Logo

SwitchWinForms

Working with .NET Framework's Graphics Library to draw and build new forms and components.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About SwitchWinForms
  2. Getting Started
  3. Usage
  4. Contributing
  5. License

About SwitchWinForms

Everything shown in the demo below is drawn by Graphic library from the Form's Paint Event, not a component. The form itself is invisible with everything drawn on it to give more rounded corners and flexibility. All code controlling this is within the SiwtchWinForms.dll code in this project. No dependencies outside of .NET Framework and Visual Studio itself.

SwitchWinForms

This is a library that hides the form, then draws everything you see on the screen.
This shows interactions with buttons, titlebars, labels, color transparency, color replacements of images pulled in, and input boxes.

There is still some work needed with input boxes and background images in buttons. Images loaded into don't seem to have set at 0x0 as seen above.

(back to top)

Built With

Visual Studio
.NET Framework

(back to top)

Getting Started

This is all written in Visual Studio 2019 orignally and in 2022 now. Clone, build, and run. No external dependencies added outside of this project.

Prerequisites

Visual Studio 2019+ and .NET Framework 4.8+.

Installation

  1. Clone the repo
    git clone https://github.com/gavin1970/SwitchWinForms.git
  2. Build Solution
  3. Run demo F5

(back to top)

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/YourFeature)
  3. Commit your Changes (git commit -m 'Add some comments about your feature')
  4. Push to the Branch (git push origin feature/YourFeature)
  5. Open a Pull Request back to this project.

(back to top)

License

Distributed under the MIT License.
See LICENSE.txt for more information.

(back to top)

About

Using only the Graphics library, drawing on an invisible form including images and icon. Creating interactive buttons an input boxes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages