public Requests(RequestsConroller service) { InitializeComponent(); this.service = service; // Create a material theme manager and add the form to manage (this) MaterialSkinManager materialSkinManager = MaterialSkinManager.Instance; materialSkinManager.AddFormToManage(this); materialSkinManager.Theme = MaterialSkinManager.Themes.LIGHT; // Configure color schema materialSkinManager.ColorScheme = new ColorScheme( Primary.Blue400, Primary.Blue500, Primary.Blue500, Accent.LightBlue200, TextShade.WHITE ); }
public RequestForm(RequestsConroller recService, ProductController prodService) { InitializeComponent(); this.recService = recService; this.prodService = prodService; }