using MaterialSkin;
using MaterialSkin.Controls;
...
public partial class Form1 : MaterialForm
{
.....
// Initialize MaterialSkinManager with theme and color scheme
materialSkinManager = MaterialSkinManager.Instance;
materialSkinManager.AddFormToManage(this);