private void TrocarStyle(bool ret) { if (ret) { RealocarLicenca_bt.SetResourceReference(StyleProperty, "MaterialDesignRaisedButton"); RealocarLicenca_bt.Foreground = Brushes.White; SuspenderLicenca_bt.SetResourceReference(StyleProperty, "MaterialDesignFlatButton"); } else { SuspenderLicenca_bt.SetResourceReference(StyleProperty, "MaterialDesignRaisedButton"); SuspenderLicenca_bt.Foreground = Brushes.White; RealocarLicenca_bt.SetResourceReference(StyleProperty, "MaterialDesignFlatButton"); } }
private void ZerarStyle() { RealocarLicenca_bt.SetResourceReference(StyleProperty, "MaterialDesignFlatButton"); SuspenderLicenca_bt.SetResourceReference(StyleProperty, "MaterialDesignFlatButton"); }