private void medium_click(object sender, RoutedEventArgs e) { BrushSizeFactory medClick = new BrushSizeFactory(); medClick.changeBrush((brushType)1).changeSize(Can); }
private void large_click(object sender, RoutedEventArgs e) { BrushSizeFactory largeClick = new BrushSizeFactory(); largeClick.changeBrush((brushType)2).changeSize(Can); }
private void small_click(object sender, RoutedEventArgs e) { BrushSizeFactory smallClick = new BrushSizeFactory(); smallClick.changeBrush(0).changeSize(Can); }