Exemple #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;
 }
Exemple #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;
 }
Exemple #5
0
 static RadarsSettingInfo()
 {
     Instance = new RadarsSettingInfo();
 }