コード例 #1
0
ファイル: Paging.cs プロジェクト: WASP3D/Shot-Box-SDK-Samples
 /// <summary>
 /// used to taking the scenegraph on air
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnOnAir_Click(object sender, EventArgs e)
 {
     try
     {
         if (!Equals(m_objShotBox, null))
         {
             m_objShotBox.SetRender(true);
         }
     }
     catch (Exception ex)
     {
         LogWriter.WriteLog("error in taking the scenegrpah on air", ex);
     }
 }
コード例 #2
0
        }     //end (m_objShotBox_OnShotBoxControllerStatus)

        /// <summary>
        /// used to taking the scenegraph on air
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnOnAir_Click(object sender, EventArgs e)
        {
            try
            {
                if (!Equals(m_objShotBox, null))
                {
                    m_objShotBox.SetRender(true);
                } //end (if)
            }     //end (try)
            catch (Exception ex)
            {
                LogWriter.WriteLog(MODULENAME, ex);
            } //end (catch)
        }     //end (btnOnAir_Click)
コード例 #3
0
        }     //end (btnStop_Click_1)

        /// <summary>
        /// used to taking the scenegraph on air
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnOnAir_Click_1(object sender, EventArgs e)
        {
            try
            {
                if (!Equals(m_objShotBox, null))
                {
                    m_objShotBox.SetRender(true);
                    btnOnAir.BackColor  = Color.DarkGray;
                    btnOffAir.BackColor = Color.DarkGreen;
                } //end (if)
            }     //end (try)
            catch (Exception ex)
            {
                LogWriter.WriteLog(MODULENAME, ex);
            } //end (catch)
        }     //end (btnOnAir_Click_1)
コード例 #4
0
 /// <summary>
 /// used to taking the scenegraph on air
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnOnAir_Click_1(object sender, EventArgs e)
 {
     try
     {
         if (!Equals(m_objShotBox, null))
         {
             m_objShotBox.SetRender(true);
             btnOnAir.BackColor  = Color.DarkGray;
             btnOffAir.BackColor = Color.DarkGreen;
         }
     }
     catch (Exception ex)
     {
         LogWriter.WriteLog("error in taking the scenegraph on air", ex.Message);
     }
 }