예제 #1
0
        private void medium_click(object sender, RoutedEventArgs e)
        {
            BrushSizeFactory medClick = new BrushSizeFactory();

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

            largeClick.changeBrush((brushType)2).changeSize(Can);
        }
예제 #3
0
        private void small_click(object sender, RoutedEventArgs e)
        {
            BrushSizeFactory smallClick = new BrushSizeFactory();

            smallClick.changeBrush(0).changeSize(Can);
        }