Beispiel #1
0
 private void initRadarDataInfomation()
 {
     _ri = RadarsSettingInfo.Instance;
     _ri.Reset();
     resetRadarsSettingInfo();
     _ri.PropertyChanged += _ri_PropertyChanged;
 }
 public void Dispose()
 {
     removeSelectedRadar();
     if (_radarsInfo != null)
     {
         _radarsInfo.PropertyChanged -= radarsInfo_PropertyChanged;
     }
     _radarsInfo = null;
 }
Beispiel #3
0
 public RadarSettingClient()
 {
     InitializeComponent();
     this.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
     _radarsInfo = RadarsSettingInfo.Instance;
     loadListView();
     _radarsInfo.PropertyChanged += radarsInfo_PropertyChanged;
     initCamboBox();
     initRadarChannels();
     radarsListView.DataContext = this;
 }
 private void Init()
 {
     _radarsInfo = RadarsSettingInfo.Instance;
     loadListView();
     _radarsInfo.PropertyChanged += radarsInfo_PropertyChanged;
 }
Beispiel #5
0
 static RadarsSettingInfo()
 {
     Instance = new RadarsSettingInfo();
 }