IgnaceMaes / MaterialSkin

Theming .NET WinForms, C# or VB.Net, to Google's Material Design Principles.
MIT License
2.86k stars 831 forks source link

Major Improvements #247

Open leocb opened 4 years ago

leocb commented 4 years ago

This is based on the work done by donaldsteele

I've added some controls, improved others and fixed bugs

If you just can't wait for the PR to be merged, grab this version from my releases page: leocb/MaterialSkin/releases

You can also get my updated version from Nuget! Just search for Material Skin 2

sadly this also introduces some breaking changes. Here's the complete changelog:

Added

Changed/Updated

Fixed

Screenshots!

A simple demo interface with MaterialSkin components. home

The MaterialSkin Drawer (menu). You can choose to either display the icons or completely close the drawer drawer

Every MaterialSkin button variant - this is 1 control, 3 properties buttons

The MaterialSkin checkboxes, radio and Switch. selection

Material skin textfield and labels text

Table control table

Progress bar progress bar

Cards cards

MaterialSkin using a custom color scheme. custom

FlexibleMaterial Messagebox messagebox

ghost commented 4 years ago

I want to try the drawer menu.

leocb commented 4 years ago

Sure thing, just follow the instruction on how to install from my fork.

Alternatively, the latest pre-compiled DLL can be downloaded from here

After that, follow these steps:

  1. Add the DLL as a reference in your project
  2. Drag and drop the DLL file to your visual studio toolbox to load the material skin components
  3. inherit the Material Form by modifying your Form code like this: public partial class MainForm : Form should become public partial class MainForm : MaterialForm, and don't forget to add using MaterialSkin; and using MaterialSkin.Controls; to the top of the code.
  4. Add a Material Tab Control to your Form, each tab is a menu item
  5. Click on your Form and select the tab control you created in the DrawerTabControl property, this should automatically enable the drawer button and take care of everything for you, just add/remove tabs and the code will do the rest automagically. If you want to use icons, add an ImageList and then add that to your TabControl.

These steps are also available on the WIKI

ghost commented 4 years ago

Sure thing, just follow the instruction on how to install from my fork.

Alternatively, the latest pre-compiled DLL can be downloaded from here

After that, follow these steps:

  1. Add the DLL as a reference in your project
  2. Drag and drop the DLL file to your visual studio toolbox to load the material skin components
  3. inherit the Material Form by modifying your Form code like this: public partial class MainForm : Form should become public partial class MainForm : MaterialForm, and don't forget to add using MaterialSkin; and using MaterialSkin.Controls; to the top of the code.
  4. Add a Material Tab Control to your Form, each tab is a menu item
  5. Click on your Form and select the tab control you created in the DrawerTabControl property, this should automatically enable the drawer button and take care of everything for you, just add/remove tabs and the code will do the rest automagically. If you want to use icons, add an ImageList and then add that to your TabControl.

-thank you sir.

leocb commented 4 years ago

Glad to help, just keep in mind this still have some bugs, we`re tracking them in my issue tracker

diegojancic commented 4 years ago

@IgnaceMaes please consider adding @leocb as a committer to maintain this project. He's done really good work updating this. Thanks!

leocb commented 4 years ago

still NO conflicts?! lol merging this (or using my lib) breaks existing apps. proceed with caution :)

MahdiElahi commented 4 years ago

How to set matrial drawer (menu) set right to left and showand hide from right of the main form?

leocb commented 4 years ago

Hi @MahdiElahi. This is currently not supported on my version of the lib. Open a issue with this suggestion on my repository and we can continue there https://github.com/leocb/MaterialSkin

MahdiElahi commented 4 years ago

thanks  i create a new issue in your repository  On Sunday, March 22, 2020, 09:00:51 PM GMT+4:30, Leo Bottaro notifications@github.com wrote:

Hi @MahdiElahi. This is currently not supported on my version of the lib. Open a issue with this suggestion on my repository and we can continue there https://github.com/leocb/MaterialSkin

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

darraghomalley commented 2 years ago

Hi, I'm loving material skin!!!! I don't seem to be able to programmatically rezise a MaterialSkin.Controls.MaterialForm in runtime in the same way you can resize a standard Winform via the form.Size property; am I missing something?