示例#1
0
 public CreateForm(out GliderConnection connection)
 {
     InitializeComponent();
     connection = new GliderConnection();
     _connection = connection;
     name_txt.Focus();
 }
示例#2
0
 public ViewForm(GliderConnection connection)
 {
     InitializeComponent();
     _connection = connection;
     _timer = new Timer();
     _timer.Interval = 40;
     _timer.Tick += new System.EventHandler(this.timer_Tick);
     _last = null;
     _eventAdded = false;
 }
示例#3
0
        public TabPage(GliderConnection connection) : base()
        {
            InitializeComponent();
            _connection        = connection;
            this.Text          = " " + _connection.Name + " ";
            _logTimer          = new Timer();
            _logTimer.Interval = 500;
            _logTimer.Tick    += new System.EventHandler(this.logTimer_Tick);

            _updateTimer          = new Timer();
            _updateTimer.Interval = 1000;
            _updateTimer.Tick    += new System.EventHandler(this.updateTimer_Tick);
            _updateTimer.Enabled  = true;

            _updatedDatas = new List <string>();
        }
示例#4
0
        public TabPage(GliderConnection connection)
            : base()
        {
            InitializeComponent();
            _connection = connection;
            this.Text = " " + _connection.Name + " ";
            _logTimer = new Timer();
            _logTimer.Interval = 500;
            _logTimer.Tick += new System.EventHandler(this.logTimer_Tick);

            _updateTimer = new Timer();
            _updateTimer.Interval = 1000;
            _updateTimer.Tick += new System.EventHandler(this.updateTimer_Tick);
            _updateTimer.Enabled = true;

            _updatedDatas = new List<string>();
        }
示例#5
0
 public CommandForm(GliderConnection connection)
 {
     InitializeComponent();
     _connection = connection;
 }