Esempio n. 1
0
        private void HandelFinish()
        {
            string s = model.FinishMessage;

            //todo display message
            NotifyFinish?.Invoke();
        }
Esempio n. 2
0
 private void HandleCommandRes(CommandResult res)
 {
     KeepCom = res.KeepConnection;
     if (res.Command == Command.Close)
     {
         FinishMessage = res.Data; //todo what is the data in this case
         //todo need to check if play command failed?
         NotifyFinish?.Invoke();
     }
 }
Esempio n. 3
0
 public void ClickedOk()
 {
     if (Changed())
     {
         SetVals();
     }
     else
     {
         NotifyFinish?.Invoke();
     }
 }
Esempio n. 4
0
 private void HandleClose(string data)
 {
     KeepCom = false;
     NotifyFinish?.Invoke();
 }
Esempio n. 5
0
 private void HandleBack()
 {
     NotifyFinish?.Invoke();
 }
Esempio n. 6
0
 private void HandleFinish()
 {
     this.Close();
     NotifyFinish?.Invoke();
 }