Example #1
0
        private void UCScreenPreview_Main_Update()
        {
            var config = GetXYWHs();

            TextBox_XYWidthHeight.Background = config == null ? new SolidColorBrush(Colors.MistyRose) : new SolidColorBrush(Colors.Honeydew);
            try
            {
                UCScreenPreview_Main.Update(config, CheckBox_SortTournamentsByStartingTime.IsChecked == true);
            }
            catch
            {
            }
        }
        private void UCScreenPreview_Main_Update()
        {
            var config      = GetXYWHs();
            var workingArea = GetWorkingArea();

            TextBox_XYWidthHeight.Background = config == null ? new SolidColorBrush(Colors.MistyRose) : new SolidColorBrush(Colors.Honeydew);
            try
            {
                UCScreenPreview_Main.Update(config, true, workingArea);
            }
            catch
            {
            }
        }