Ejemplo n.º 1
0
        public LoopSetting()
        {
            InitializeComponent();

            _treeView2            = this.cstTreeView1;
            _treeView2.CheckBoxes = true;
        }
Ejemplo n.º 2
0
        public A429ReceiveControl()
        {
            InitializeComponent();
            //设置接收treetree的初始样式
            _treeView1               = new CstTreeView();
            _treeView1.Dock          = DockStyle.Fill;
            _treeView1.HideSelection = false;
            _treeView1.BackColor     = VmColors.LightBlue;
            _treeView1.SelectedColor = VmColors.DarkBlue;
            groupBox1.Controls.Add(_treeView1);
            groupBox1.BackColor = VmColors.LightBlue;

            this.tabPage1.BackColor = VmColors.LightBlue;
            //this.tabPage2.BackColor = VmColors.LightBlue;
            //this.tabPage3.BackColor = VmColors.LightBlue;
            this.tabControl1.BackColor = VmColors.LightBlue;

            //设置过滤tree
            //_treeView2 = this.cstTreeView1;
            //_treeView2.CheckBoxes = true;

            this.radioButton2.Checked = true;
            //事件
            this.button_clear.Click   += ClearData;   //清除统计数
            this.button_Receive.Click += ReceiveData; //开始接收
            this.button_Stop.Click    += StopReceive; //停止接收
            this.button_analyze.Click += AnalizeData; //快照分析
            //this.button3.Click += AllowBm;//允许BM获取所有消息
            //this.button4.Click += StopBm;//阻止BM获取所有消息
            //this.button5.Click += ApllyStrainer;//应用过滤器

            //this.comboBox1.SelectedValueChanged += ValueChange;
            //this.button1.Click += SetGatherParam;
            this.textBox1.TextChanged += TextChange;
        }
Ejemplo n.º 3
0
 public A429FilterControl()
 {
     InitializeComponent();
     _treeView             = this.cstTreeView1;
     _treeView.CheckBoxes  = true;
     this.button1.Click   += SelectAll;
     this.button2.Click   += SelectNo;
     this.button3.Click   += Apply;
     _treeView.AfterCheck += treeView1_AfterSelect;
     this.FormClosed      += ClosedFunc;
 }
Ejemplo n.º 4
0
        private readonly CstThread _thread = new CstThread();//新开一个线程来处理count

        public A429SendControl()
        {
            InitializeComponent();

            _treeView1               = new CstTreeView();
            _treeView1.Dock          = DockStyle.Fill;
            _treeView1.HideSelection = false;
            _treeView1.BackColor     = VmColors.LightBlue;
            _treeView1.SelectedColor = VmColors.DarkBlue;
            groupBox1.Controls.Add(_treeView1);
            groupBox1.BackColor = VmColors.LightBlue;

            btn_AllChannelStart.Click += OnAllChannelStart;//全部开始
            btn_AllChannelStop.Click  += OnAllChannelStop;
            btn_AddLabel.Click        += OnAddLabel;
            btn_DelAllLabel.Click     += OnDelAllLabel;
            btn_DelLabel.Click        += OnDelLabel;
            btn_EditLabel.Click       += OnEditLabel;
            //btn_EditProjectValue.Click += OnEditProjectValue;
            button_clearData.Click        += ClearData;
            button1.Click                 += SendPerid;
            button2.Click                 += FinishPerid;
            textBox_sendValue.TextChanged += TextChange;
        }