예제 #1
0
        private void TextAddShape(object sender, RoutedEventArgs e)
        {
            if (SelectedEditMode != EditModes.Draw)
            {
                MessageBox.Show("Musisz wybrać kształt który chcesz dodać!", "Błąd");
                return;
            }
            TextEditDialog dialog = new TextEditDialog(this);

            dialog.Show();
        }
예제 #2
0
        private void TextEditShape(object sender, MouseButtonEventArgs e)
        {
            TextEditDialog dialog = new TextEditDialog(ShapeToEdit);

            dialog.Show();
        }