Пример #1
0
 private void CleanData()
 {
     if (MessageBox.Show("确定删除内存数据么?", "警告信息", MessageBoxButton.OKCancel, MessageBoxImage.Question) ==
         MessageBoxResult.Cancel)
     {
         return;
     }
     DataCollections.Clear();
     XLogSys.Print.Info("当前内存数据已经被清除");
 }
Пример #2
0
 private void CleanData()
 {
     if (
         MessageBox.Show(GlobalHelper.Get("key_255"), GlobalHelper.Get("key_151"), MessageBoxButton.OKCancel,
                         MessageBoxImage.Question) ==
         MessageBoxResult.Cancel)
     {
         return;
     }
     DataCollections.Clear();
     XLogSys.Print.Info(GlobalHelper.Get("key_256"));
 }