private void SetNewBackgroundColourNew(string thetag) { //Uses the 'ButtonColourProps' interface to access the properties for the buttons EllipseStroke = ButtonColourProps.GetProperties(thetag).ellipseStroke; ButtonMouseOverForeground = ButtonColourProps.GetProperties(thetag).buttonMouseOverForeground; ButtonIsPressStroke = ButtonColourProps.GetProperties(thetag).buttonIsPressStroke; GradstopColour1 = ButtonColourProps.GetProperties(thetag).ellipseGradientStopColour1; GradstopColour2 = ButtonColourProps.GetProperties(thetag).ellipseGradientStopColour2; //Moves to the Method to set the gradient style of the button SetButtonGradientStyle(GradstopColour1, GradstopColour2); }
private void SetNewBackgroundColourNew(string thetag) { EllipseStroke = ButtonColourProps.GetProperties(thetag).ellipseStroke; ButtonMouseOverForeground = ButtonColourProps.GetProperties(thetag).buttonMouseOverForeground; ButtonIsPressStroke = ButtonColourProps.GetProperties(thetag).buttonIsPressStroke; TextBoxBorderBrush = TextBoxColoursProps.GetProperties(thetag).textBoxBorderBrush; TextBoxBorderBackground = TextBoxColoursProps.GetProperties(thetag).textBoxBorderBackground; GradstopColour1 = ButtonColourProps.GetProperties(thetag).ellipseGradientStopColour1; GradstopColour2 = ButtonColourProps.GetProperties(thetag).ellipseGradientStopColour2; //Moves to the Method to set the gradient style of the button SetButtonGradientStyle(GradstopColour1, GradstopColour2); }