Example #1
0
 public RadarColorClient()
 {
     InitializeComponent();
     _colors = RadarColorTableDataInfo.Instance;
     this.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
     loadColorSchemesListView();
 }
Example #2
0
 public RadarImage(LocatorAndBorder locator)
 {
     _locator             = locator;
     _radarColorTableData = RadarColorTableDataInfo.Instance;
     _colorTableData      = _radarColorTableData.GetColorTableData(0);
     _radarColorTableData.PropertyChanged += _radarColorTableData_PropertyChanged;
     this.Children.Add(_image);
     _image.Visibility = System.Windows.Visibility.Visible;
     _radarShow        = _radarFrame;
     _icon             = new Image()
     {
         Source = new BitmapImage(new Uri(@"../../../Resources/雷达基站.png", UriKind.Relative))
     };
     this.Children.Add(_icon);
     loadRadarMap();
     ColorTableIndex          = 0;
     _locator.OnMapRefreshed += iconRefreshed;
     iconRefreshed();
 }
Example #3
0
 static RadarColorTableDataInfo()
 {
     Instance = new RadarColorTableDataInfo();
 }