Interaktionslogik für InputMessage.xaml
상속: Window
 private void btnSentMessage_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         windows.InputMessage wdInput = new windows.InputMessage();
         wdInput.ShowDialog();
         SendMessage_All(wdInput.txtInput.Text, System.Convert.ToByte(wdInput.txtPrio.Text), System.Convert.ToSingle(wdInput.txtTime.Text));
         wdInput = null;
     }
     catch
     {
         mainWindowDataContext.output.Add("Cant convert string");
     }
 }
 private void mnuPlayerShowDialog_Click(object sender, RoutedEventArgs e)
 {
     if (dgPlayer.SelectedItem != null)
     {
         try
         {
             windows.InputMessage wdInput = new windows.InputMessage();
             wdInput.ShowDialog();
             Player_ShowDialog_SinglePlayer(((data.PlayerInfo)dgPlayer.SelectedItem).entityId, wdInput.txtInput.Text, System.Convert.ToByte(wdInput.txtPrio.Text), System.Convert.ToSingle(wdInput.txtTime.Text));
             wdInput = null;
         }
         catch
         {
             mainWindowDataContext.output.Add("Cant convert string");
         }
     }
 }