|
@@ -72,6 +72,8 @@
|
72
|
72
|
this.cmslistboxRightMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
|
73
|
73
|
this.rightMenuCopyCmd = new System.Windows.Forms.ToolStripMenuItem();
|
74
|
74
|
this.rightMenuClearInfo = new System.Windows.Forms.ToolStripMenuItem();
|
|
75
|
+ this.timerHeartBeat = new System.Windows.Forms.Timer(this.components);
|
|
76
|
+ this.StripMenuItemLoSucHb = new System.Windows.Forms.ToolStripMenuItem();
|
75
|
77
|
this.groupBox1.SuspendLayout();
|
76
|
78
|
this.menuStrip1.SuspendLayout();
|
77
|
79
|
this.statusStrip1.SuspendLayout();
|
|
@@ -346,6 +348,7 @@
|
346
|
348
|
// 心跳HToolStripMenuItem
|
347
|
349
|
//
|
348
|
350
|
this.心跳HToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
351
|
+ this.StripMenuItemLoSucHb,
|
349
|
352
|
this.ToolStripMenuItemHbStart,
|
350
|
353
|
this.toolStripSeparator1,
|
351
|
354
|
this.toolStripSeparator3,
|
|
@@ -359,24 +362,28 @@
|
359
|
362
|
//
|
360
|
363
|
// ToolStripMenuItemHbStart
|
361
|
364
|
//
|
|
365
|
+ this.ToolStripMenuItemHbStart.CheckOnClick = true;
|
|
366
|
+ this.ToolStripMenuItemHbStart.Enabled = false;
|
362
|
367
|
this.ToolStripMenuItemHbStart.Name = "ToolStripMenuItemHbStart";
|
363
|
|
- this.ToolStripMenuItemHbStart.Size = new System.Drawing.Size(172, 22);
|
364
|
|
- this.ToolStripMenuItemHbStart.Text = "登录成功就开启";
|
|
368
|
+ this.ToolStripMenuItemHbStart.Size = new System.Drawing.Size(196, 22);
|
|
369
|
+ this.ToolStripMenuItemHbStart.Text = "开启心跳";
|
|
370
|
+ this.ToolStripMenuItemHbStart.CheckStateChanged += new System.EventHandler(this.ToolStripMenuItemHbStart_CheckStateChanged);
|
|
371
|
+ this.ToolStripMenuItemHbStart.Click += new System.EventHandler(this.ToolStripMenuItemHbStart_Click);
|
365
|
372
|
//
|
366
|
373
|
// toolStripSeparator1
|
367
|
374
|
//
|
368
|
375
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
369
|
|
- this.toolStripSeparator1.Size = new System.Drawing.Size(169, 6);
|
|
376
|
+ this.toolStripSeparator1.Size = new System.Drawing.Size(193, 6);
|
370
|
377
|
//
|
371
|
378
|
// toolStripSeparator3
|
372
|
379
|
//
|
373
|
380
|
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
374
|
|
- this.toolStripSeparator3.Size = new System.Drawing.Size(169, 6);
|
|
381
|
+ this.toolStripSeparator3.Size = new System.Drawing.Size(193, 6);
|
375
|
382
|
//
|
376
|
383
|
// ToolStripMenuItemHb30abc
|
377
|
384
|
//
|
378
|
385
|
this.ToolStripMenuItemHb30abc.Name = "ToolStripMenuItemHb30abc";
|
379
|
|
- this.ToolStripMenuItemHb30abc.Size = new System.Drawing.Size(172, 22);
|
|
386
|
+ this.ToolStripMenuItemHb30abc.Size = new System.Drawing.Size(196, 22);
|
380
|
387
|
this.ToolStripMenuItemHb30abc.Text = "下面输入心跳时间";
|
381
|
388
|
//
|
382
|
389
|
// toolStripTextBoxHbtime
|
|
@@ -389,12 +396,12 @@
|
389
|
396
|
// toolStripSeparator2
|
390
|
397
|
//
|
391
|
398
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
392
|
|
- this.toolStripSeparator2.Size = new System.Drawing.Size(169, 6);
|
|
399
|
+ this.toolStripSeparator2.Size = new System.Drawing.Size(193, 6);
|
393
|
400
|
//
|
394
|
401
|
// ToolStripMenuItemLogHb
|
395
|
402
|
//
|
396
|
403
|
this.ToolStripMenuItemLogHb.Name = "ToolStripMenuItemLogHb";
|
397
|
|
- this.ToolStripMenuItemLogHb.Size = new System.Drawing.Size(172, 22);
|
|
404
|
+ this.ToolStripMenuItemLogHb.Size = new System.Drawing.Size(196, 22);
|
398
|
405
|
this.ToolStripMenuItemLogHb.Text = "是否打印心跳";
|
399
|
406
|
this.ToolStripMenuItemLogHb.Click += new System.EventHandler(this.ToolStripMenuItemLogHb_Click);
|
400
|
407
|
//
|
|
@@ -492,6 +499,20 @@
|
492
|
499
|
this.rightMenuClearInfo.Text = "清空信息(&L)";
|
493
|
500
|
this.rightMenuClearInfo.Click += new System.EventHandler(this.rightMenuClearInfo_Click);
|
494
|
501
|
//
|
|
502
|
+ // timerHeartBeat
|
|
503
|
+ //
|
|
504
|
+ this.timerHeartBeat.Interval = 1000;
|
|
505
|
+ this.timerHeartBeat.Tick += new System.EventHandler(this.timerHeartBeat_Tick);
|
|
506
|
+ //
|
|
507
|
+ // StripMenuItemLoSucHb
|
|
508
|
+ //
|
|
509
|
+ this.StripMenuItemLoSucHb.Checked = true;
|
|
510
|
+ this.StripMenuItemLoSucHb.CheckOnClick = true;
|
|
511
|
+ this.StripMenuItemLoSucHb.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
512
|
+ this.StripMenuItemLoSucHb.Name = "StripMenuItemLoSucHb";
|
|
513
|
+ this.StripMenuItemLoSucHb.Size = new System.Drawing.Size(196, 22);
|
|
514
|
+ this.StripMenuItemLoSucHb.Text = "登录成功同时开启心跳";
|
|
515
|
+ //
|
495
|
516
|
// Form1
|
496
|
517
|
//
|
497
|
518
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
|
@@ -566,6 +587,8 @@
|
566
|
587
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
|
567
|
588
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
568
|
589
|
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItemLogHb;
|
|
590
|
+ private System.Windows.Forms.Timer timerHeartBeat;
|
|
591
|
+ private System.Windows.Forms.ToolStripMenuItem StripMenuItemLoSucHb;
|
569
|
592
|
}
|
570
|
593
|
}
|
571
|
594
|
|