예제 #1
0
 //When this color is selected in the listbox in the program the current color becomes this color.
 private void clrFloralWhite_click(object sender, RoutedEventArgs e)
 {
     selectedColor = currentColor.FLORALWHITE;
 }
예제 #2
0
 //When this color is selected in the listbox in the program the current color becomes this color.
 private void clrOrangeRed_click(object sender, RoutedEventArgs e)
 {
     selectedColor = currentColor.ORANGERED;
 }
예제 #3
0
 //When this color is selected in the listbox in the program the current color becomes this color.
 private void clrGreen_click(object sender, RoutedEventArgs e)
 {
     selectedColor = currentColor.GREEN;
 }
예제 #4
0
 //When this color is selected in the listbox in the program the current color becomes this color.
 private void clrCoral_click(object sender, RoutedEventArgs e)
 {
     selectedColor = currentColor.CORAL;
 }
예제 #5
0
 //When this color is selected in the listbox in the program the current color becomes this color.
 private void clrDarkOrange_click(object sender, RoutedEventArgs e)
 {
     selectedColor = currentColor.DARKORANGE;
 }
예제 #6
0
 //When this color is selected in the listbox in the program the current color becomes this color.
 private void clrPurple_click(object sender, RoutedEventArgs e)
 {
     selectedColor = currentColor.PURPLE;
 }
예제 #7
0
 //When this color is selected in the listbox in the program the current color becomes this color.
 private void clrPaleVioletRed_click(object sender, RoutedEventArgs e)
 {
     selectedColor = currentColor.PALEVIOLETRED;
 }
예제 #8
0
 //When this color is selected in the listbox in the program the current color becomes this color.
 private void clrDarkRed_click(object sender, RoutedEventArgs e)
 {
     selectedColor = currentColor.DARKRED;
 }
예제 #9
0
 //When this color is selected in the listbox in the program the current color becomes this color.
 private void clrBlue_click(object sender, RoutedEventArgs e)
 {
     selectedColor = currentColor.BLUE;
 }