Пример #1
0
        public frmRecord(iConfServer.NET.iConfServerDotNet ics)
        {
            InitializeComponent();
            this.ics = ics;

            LoadVideoCompressors(cbVideoCompressors);
            LoadAudioCompressors(cbAudioCompressors);
        }
Пример #2
0
        /// <summary>
        /// Instantiates the the iConf components
        /// </summary>
        private void CreateControls()
        {
            ics         = new iConfServer.NET.iConfServerDotNet();
            ics.Parent  = pnlMain;
            ics.Dock    = DockStyle.Fill;
            ics.Visible = true;


            //events
            ics.IncomingCall         += new iConfServer.NET.iConfServerDotNet.IncomingCallDelegate(ics_IncomingCall);
            ics.ClientConnectionLost += new iConfServerDotNet.ClientConnectionLostDelegate(ics_ClientConnectionLost);
            ics.ScreenControlRequest += new iConfServerDotNet.ScreenControlRequestDelegate(ics_ScreenControlRequest);
            ics.VideoPreviewStarted  += new iConfServerDotNet.VideoPreviewStartedDelegate(ics_VideoPreviewStarted);

            icc         = new iConfClient.NET.iConfClientDotNet();
            icc.Parent  = pnlOtherVideo;
            icc.Dock    = DockStyle.Fill;
            icc.Visible = true;

            //events
            icc.CallAccepted += new iConfClient.NET.iConfClientDotNet.CallAcceptedDelegate(icc_CallAccepted);
            icc.CallRejected += new iConfClient.NET.iConfClientDotNet.CallRejectedDelegate(icc_CallRejected);
        }
Пример #3
0
        /// <summary>
        /// Instantiates the the iConf components
        /// </summary>
        private void CreateControls()
        {
            ics = new iConfServer.NET.iConfServerDotNet();
            ics.Parent = pnlMain;
            ics.Dock = DockStyle.Fill;
            ics.Visible = true;


            //events
            ics.IncomingCall += new iConfServer.NET.iConfServerDotNet.IncomingCallDelegate(ics_IncomingCall);
            ics.ClientConnectionLost += new iConfServerDotNet.ClientConnectionLostDelegate(ics_ClientConnectionLost);
            ics.ScreenControlRequest   += new iConfServerDotNet.ScreenControlRequestDelegate(ics_ScreenControlRequest);
            ics.VideoPreviewStarted += new iConfServerDotNet.VideoPreviewStartedDelegate(ics_VideoPreviewStarted);

            icc = new iConfClient.NET.iConfClientDotNet();
            icc.Parent = pnlOtherVideo;
            icc.Dock = DockStyle.Fill;
            icc.Visible = true;

            //events
            icc.CallAccepted += new iConfClient.NET.iConfClientDotNet.CallAcceptedDelegate(icc_CallAccepted);
            icc.CallRejected += new iConfClient.NET.iConfClientDotNet.CallRejectedDelegate(icc_CallRejected);
        }