public SegmentMappingsTableDialog()
 {
     _selectMonitor = new SimpleMonitor();
     InitializeComponent();
     SegmentsDataGrid.ClipboardExporters.Clear();
     BusyCursor.DisplayUntilIdle();
 }
Exemple #2
0
 public MultipleWordAlignmentView()
 {
     InitializeComponent();
     AlignmentGrid.ClipboardExporters.Clear();
     BusyCursor.DisplayUntilIdle();
     _monitor = new SimpleMonitor();
 }
Exemple #3
0
        private void Search()
        {
            if (string.IsNullOrEmpty(SearchTextBox.Text))
            {
                return;
            }

            using (BusyCursor.Display())
            {
                GeoCoderStatusCode res = MapControl.SetPositionByKeywords(SearchTextBox.Text);
                switch (res)
                {
                case GeoCoderStatusCode.OK:
                    MapControl.Zoom = 11;
                    break;

                case GeoCoderStatusCode.ZERO_RESULTS:
                    MessageBoxEx.Show(System.Windows.Application.Current.MainWindow, "Location not found.", "Cog", MessageBoxButton.OK, MessageBoxImage.Information);
                    break;

                default:
                    MessageBoxEx.Show(System.Windows.Application.Current.MainWindow, "Unable to connect to map server.", "Cog", MessageBoxButton.OK, MessageBoxImage.Error);
                    break;
                }
            }
        }
Exemple #4
0
 public SegmentsView()
 {
     InitializeComponent();
     SegmentsDataGrid.ClipboardExporters.Clear();
     _selectMonitor = new SimpleMonitor();
     BusyCursor.DisplayUntilIdle();
 }
Exemple #5
0
        public GeographicalView()
        {
            InitializeComponent();

            BusyCursor.DisplayUntilIdle();
            MapControl.DragButton = MouseButton.Left;
            MapControl.IgnoreMarkerOnMouseWheel = true;
        }
Exemple #6
0
 public WordListsView()
 {
     InitializeComponent();
     WordListsGrid.ClipboardExporters.Clear();
     WordListsGrid.ClipboardExporters.Add(DataFormats.UnicodeText, new UnicodeCsvClipboardExporter {
         IncludeColumnHeaders = false, FormatSettings = { TextQualifier = '\0' }
     });
     _selectMonitor = new SimpleMonitor();
     BusyCursor.DisplayUntilIdle();
 }
Exemple #7
0
        private void ViewModel_PropertyChanged(object sender, PropertyChangedEventArgs e)
        {
            switch (e.PropertyName)
            {
            case "Varieties":
                DispatcherHelper.CheckBeginInvokeOnUI(SetupVarieties);
                break;

            case "SelectedVariety":
                BusyCursor.DisplayUntilIdle();
                break;
            }
        }
 public SimilarityMatrixView()
 {
     InitializeComponent();
     SimMatrixGrid.ClipboardExporters.Clear();
     BusyCursor.DisplayUntilIdle();
 }
 public GlobalCorrespondencesView()
 {
     InitializeComponent();
     BusyCursor.DisplayUntilIdle();
 }
Exemple #10
0
 public NetworkGraphView()
 {
     InitializeComponent();
     BusyCursor.DisplayUntilIdle();
 }
Exemple #11
0
 public VarietyPairsView()
 {
     InitializeComponent();
     BusyCursor.DisplayUntilIdle();
 }
Exemple #12
0
 public SettingsView()
 {
     InitializeComponent();
     BusyCursor.DisplayUntilIdle();
 }
 public HierarchicalGraphView()
 {
     InitializeComponent();
     BusyCursor.DisplayUntilIdle();
 }
Exemple #14
0
 public MeaningsView()
 {
     InitializeComponent();
     MeaningsGrid.ClipboardExporters.Clear();
     BusyCursor.DisplayUntilIdle();
 }