Beispiel #1
0
        private void CreateRect_Click(object sender, RoutedEventArgs e)
        {
            NewObject rect = new NewObject(new DrawRect());

            rect.draw(list_txb);
            count++;
            Console_Txb.Text = "Count of object: " + count.ToString();
        }
Beispiel #2
0
        private void CreateCircle_Click(object sender, RoutedEventArgs e)
        {
            NewObject circle = new NewObject(new DrawCircle());

            circle.draw(list_txb);
            count++;
            Console_Txb.Text = "Count of object: " + count.ToString();
        }