示例#1
0
 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");
     }
 }
示例#2
0
 private void ZerarStyle()
 {
     RealocarLicenca_bt.SetResourceReference(StyleProperty, "MaterialDesignFlatButton");
     SuspenderLicenca_bt.SetResourceReference(StyleProperty, "MaterialDesignFlatButton");
 }