private void cmdCloseMp_Click(object sender, EventArgs e)
 {
     if (service != null)
     {
         try
         {
             bool res = service.CloseMediaPortal();
         }
         catch (Exception)
         {
             MessageBox.Show("Couldn't connect to service");
         }
     }
 }