Esempio n. 1
0
        private void medium_click(object sender, RoutedEventArgs e)
        {
            BrushSizeFactory medClick = new BrushSizeFactory();

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

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

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