private void btn_Release_Click(object sender, RoutedEventArgs e)
 {
     if (LB_ReaderAdvert.SelectedIndex < 0)
     {
         viewModel.ErrorMessage = "请先选择一项";
         return;
     }
     NewMediaState.W_IssuedSchoolList w_IisureList = new NewMediaState.W_IssuedSchoolList();
     w_IisureList.viewModel.Command   = AMS.Model.Enum.IsureCommandType.Advertisement;
     w_IisureList.viewModel.CommandID = (LB_ReaderAdvert.SelectedItem as AMS.Model.ReaderAdvertInfo).ID;
     w_IisureList.ShowDialog();
 }
示例#2
0
 private void btn_SentComand_Click(object sender, RoutedEventArgs e)
 {
     NewMediaState.W_IssuedSchoolList w_IisureList = new NewMediaState.W_IssuedSchoolList();
     w_IisureList.viewModel.Command = AMS.Model.Enum.IsureCommandType.EnterOutLog;
     w_IisureList.ShowDialog();
 }