Beispiel #1
0
        public ConnectButtons(TelSurgeMain main)
        {
            _main = main;
            InitializeComponent();

            FindPorts();
        }
Beispiel #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;
        }
Beispiel #3
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          = "";
        }
Beispiel #4
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();
 }
Beispiel #5
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();
 }
Beispiel #6
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          = "";
 }
Beispiel #7
0
 public AssignButtons(TelSurgeMain main)
 {
     InitializeComponent();
     _main = main;
     fillAvailableBtns();
 }
 public CameraControl(TelSurgeMain Main)
 {
     InitializeComponent();
     _main = Main;
 }
 public ChangeMyIP(TelSurgeMain mainForm)
 {
     InitializeComponent();
     _main = mainForm;
     fillAddresses();
 }
Beispiel #10
0
 /*
  * private bool isListeningForData = false;
  */
 public SocketData(TelSurgeMain MainForm, int DataPort)
 {
     this.Main               = MainForm;
     this.dataPort           = DataPort;
     this.IsListeningForData = false;
 }
Beispiel #11
0
 public AudioConference(TelSurgeMain MainForm, int AudioPort)
 {
     this.Main      = MainForm;
     this.audioPort = AudioPort;
 }
 public ChangeVideoSource(TelSurgeMain mainForm)
 {
     InitializeComponent();
     _main = mainForm;
     fillDevices();
 }