コード例 #1
0
ファイル: frmArchiveConf.cs プロジェクト: abhishek-kumar/AIGA
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="archiver"></param>
        public frmArchiveConf( IArchiveServer archiver, FMain refFMain )
        {
            InitializeComponent();
            this.archiver = archiver;
            this.refFMain = refFMain;

            PopulateConferences();
        }
コード例 #2
0
ファイル: frmRecord.cs プロジェクト: abhishek-kumar/AIGA
        public frmRecord(FMain refFMain)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            this.refFMain = refFMain;
        }
コード例 #3
0
        public frmArchiveClient(IArchiveServer archiver, ArchiveService.Conference conference, int[] streams, FMain refFMain, frmArchiveConf refFrmArchiveConf)
        {
            InitializeComponent();

            // Duration of the current conference
            totalDuration = conference.End - conference.Start;

            sliderRange = tbPlayBack.Maximum - tbPlayBack.Minimum;
            ratioTickBySlider = totalDuration.Ticks / sliderRange;

            Streams = streams;

            this.archiver = archiver;
            this.conference = conference;
            this.refFMain = refFMain;
            this.refFrmArchiveConf = refFrmArchiveConf;
        }
コード例 #4
0
ファイル: Form2.cs プロジェクト: abhishek-kumar/AIGA
        private void subpanels_MouseUp(object sender, MouseEventArgs e)
        {
            Panel This = (Panel)sender;
            if ((e.X < 0) || (e.X > This.Width) || (e.Y < 0) || (e.Y > This.Height))
            {
                This.Tag = "";
                This.Refresh();
            }
            else
            {
                This.Tag = "Entered";
                This.Refresh();
                //Take Some Action now
                if (This.Name == "subPanel1")
                {
                    System.Threading.Thread.CurrentThread.Name = "CXPClient UI";

                    //MSR.LST.ConferenceXP.FMain.arguments = "";
                    FMain frmVirtualClassroom = new FMain();

                    FMain.InvokeSettingsArguments();

                    frmVirtualClassroom.Show();
                }
            }
        }