コード例 #1
0
        public ConnectButtons(TelSurgeMain main)
        {
            _main = main;
            InitializeComponent();

            FindPorts();
        }
コード例 #2
0
        /*

        private Markings clientMarkings = new Markings();
        private Markings combinedMarkings = new Markings();
        Color penColor = Color.Red;
        string lastColorUsed = "Red";
        bool isDrawing = false;
        bool isFirstPoint = true;
        List<Point> tmpPoints = new List<Point>();
        int redFigureNum = 0;
        int blackFigureNum = 0;
        int blueFigureNum = 0;
        int whiteFigureNum = 0;
        int yellowFigureNum = 0;
        int greenFigureNum = 0;
        bool newFigure = false;
        private bool clearMarkingsReq = false;
        */
        public Markup(TelSurgeMain MainForm, int MarkingsPort)
        {
            this.Main = MainForm;
            this.markingsPort = MarkingsPort;
            this.IsListeningForMarkup = false;
            this.ClearMarkingsReq = false;
            this.PenThickness = 5;
        }
コード例 #3
0
 public NetDelay(TelSurgeMain mainForm, bool enabled, int delay)
 {
     InitializeComponent();
     _main = mainForm;
     cb_Enable.Checked = enabled;
     trb_Delay.Value = delay;
     trb_Delay.Enabled = enabled;
     fillCities();
 }
コード例 #4
0
        /*
        private bool _captureInProgress = false;

        private double repositioningError = 15;

        private bool imgHasBeenProcessed = false;
        public Queue<Image<Bgr, Byte>> videoBuffer = new Queue<Image<Bgr, byte>>();
        private bool videoImageAvailable = false;
        private System.Diagnostics.Stopwatch videoWatch = new System.Diagnostics.Stopwatch();
        public bool networkVideoDelayChanged = false;
        private bool receiveMasterVideo = true;
        public bool videoIsPTZ = false;
        private volatile bool isZooming = false;
        private int zoomingRadius = 0;
        private Point startZoomPt;
        private Size videoImgSize;
        private int zoomScalingFactor = 5;
        private Point camClickPosFactor = new Point(10, 70);
        private Point camZoomPosFactor = new Point(-35, 15);
        private Image<Bgr, Byte> frame;
        */
        public VideoCapture(TelSurgeMain Main, int VideoPort)
        {
            this.Main = Main;
            this.videoPort = VideoPort;
            this.IsListeningForVideo = false;
            this.IsStreaming = false;
            this.CaptureDevice = "";
            this.PTZAddress = "";
        }
コード例 #5
0
 public ChangeMyIP(TelSurgeMain mainForm)
 {
     InitializeComponent();
     _main = mainForm;
     fillAddresses();
 }
コード例 #6
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     if (!visualsAreSetup)
     {
         System.Windows.Forms.Application.EnableVisualStyles();
         System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false);
         visualsAreSetup = true;
     }
     telSurge = new TelSurgeMain();
     telSurge.Show();
     //StartCommand.RaiseCanExecuteChanged();
 }
コード例 #7
0
 public CameraControl(TelSurgeMain Main)
 {
     InitializeComponent();
     _main = Main;
 }
コード例 #8
0
        private int m_Codec = 0; //Encode Audio  0: ALAW, 1: ULAW

        #endregion Fields

        #region Constructors

        public AudioConference(TelSurgeMain MainForm, int AudioPort)
        {
            this.Main = MainForm;
            this.audioPort = AudioPort;
        }
コード例 #9
0
 public User(TelSurgeMain MainForm, int ConnectionPort)
 {
     this.Main = MainForm;
     this.MyName = "";
     SetMyDefaultIP();
     this.IsFrozen = false;
     this.IsMaster = false;
     this.NetworkDelay = 0;
     this.ConnectedToMaster = false;
     this.IsInControl = false;
     this.HasOmnis = true;
     this.connectionPort = ConnectionPort;
     this.IsFollowing = false;
     this.EmergencySwitchBoundBtn = "";
     this.FollowingBoundBtn = "";
     this.FreezeBoundBtn = "";
 }
コード例 #10
0
 public ChangeVideoSource(TelSurgeMain mainForm)
 {
     InitializeComponent();
     _main = mainForm;
     fillDevices();
 }
コード例 #11
0
 public AssignButtons(TelSurgeMain main)
 {
     InitializeComponent();
     _main = main;
     fillAvailableBtns();
 }