private void MnuGraphicExport_Click()
        {
            SymbolDialog sd = null;

            try
            {
                sd = new SymbolDialog(this.FormData);
                //ab.ShowDialog();
                sd.ShowDialog();//modal
                if (sd.BtnClicked == true)
                {
                    MessageBox.Show("The images will be exported during the legend-creating process in the defined folder!", "Info", MessageBoxButton.OK, MessageBoxImage.Information);
                }
            }
            catch
            {
                MessageBox.Show("Please restart the about window!", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
                sd.Close();
            }
        }
Exemple #2
0
        private void EditBox_LostFocus(object sender, RoutedEventArgs e)
        {
            var textBox = sender as TextBox;

            SymbolDialog?.OnLost(textBox);
        }