コード例 #1
0
ファイル: MainWindow.xaml.cs プロジェクト: dizzydezz/jmm
		void btnSyncVotes_Click(object sender, RoutedEventArgs e)
		{
			CommandRequest_SyncMyVotes cmdVotes = new CommandRequest_SyncMyVotes();
			cmdVotes.Save();
			MessageBox.Show("Command added to queue", "Success", MessageBoxButton.OK, MessageBoxImage.Information);
			//JMMService.AnidbProcessor.IsBanned = true;
		}
コード例 #2
0
 void btnSyncVotes_Click(object sender, RoutedEventArgs e)
 {
     CommandRequest_SyncMyVotes cmdVotes = new CommandRequest_SyncMyVotes();
     cmdVotes.Save();
     MessageBox.Show(JMMServer.Properties.Resources.Server_SyncVotes, JMMServer.Properties.Resources.Success,
         MessageBoxButton.OK, MessageBoxImage.Information);
     //JMMService.AnidbProcessor.IsBanned = true;
 }
コード例 #3
0
 public void SyncVotes()
 {
     CommandRequest_SyncMyVotes cmdVotes = new CommandRequest_SyncMyVotes();
     cmdVotes.Save();
 }
コード例 #4
0
ファイル: Core.cs プロジェクト: ElementalCrisis/jmmserver
 /// <summary>
 /// Sync votes bettween Local and AniDB and only upload to MAL
 /// </summary>
 /// <returns></returns>
 private object SyncAniDBVotes()
 {
     //TODO APIv2: Command should be split into AniDb/MAL sepereate
     CommandRequest_SyncMyVotes cmdVotes = new CommandRequest_SyncMyVotes();
     cmdVotes.Save();
     return APIStatus.statusOK();
 }