Post by zealot on Apr 5, 2017 10:38:48 GMT 10
This is a pretty cool thing. You can get it from nuget. Install the first one you see. Once you installed. Go to the project where you installed it. Go inside the nuget package. There will be a DLL. Its the thing you need for the design. Put it into your toolbox and you have the buttons and that stuff. To change the form for VB.NET. You would need to change it in the designer of the form here's a example.
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class Form1
Inherits MaterialSkin.Controls.MaterialForm
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
End Sub
For VB.NET Just change the 3rd line into what I shown you.
For C#. You don't have to go to the designer. You have to go into the code not designer the code. Heres example.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MaterialSkin; using MaterialSkin.Design; using MeterialSkin.Animation;
namespace WindowsFormsApplication15
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
}
Make sure you add imports for VB.NET as well. If you need more help check this video out!
|
|