-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainForm.Designer.cs
executable file
·88 lines (82 loc) · 3.6 KB
/
MainForm.Designer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
namespace ModemRebooter
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this._timer = new System.Windows.Forms.Timer(this.components);
this._notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
this._contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this._contextMenuStrip.SuspendLayout();
this.SuspendLayout();
//
// _timer
//
this._timer.Enabled = true;
this._timer.Interval = 10000;
this._timer.Tick += new System.EventHandler(this._timer_Tick);
//
// _notifyIcon
//
this._notifyIcon.ContextMenuStrip = this._contextMenuStrip;
this._notifyIcon.Text = "Modem Connected.";
this._notifyIcon.Visible = true;
//
// _contextMenuStrip
//
this._contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.exitToolStripMenuItem});
this._contextMenuStrip.Name = "_contextMenuStrip";
this._contextMenuStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
this._contextMenuStrip.ShowImageMargin = false;
this._contextMenuStrip.Size = new System.Drawing.Size(128, 48);
//
// exitToolStripMenuItem
//
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
this.exitToolStripMenuItem.Size = new System.Drawing.Size(127, 22);
this.exitToolStripMenuItem.Text = "Exit";
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 262);
this.Name = "MainForm";
this.ShowInTaskbar = false;
this.Text = "MainForm";
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
this._contextMenuStrip.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Timer _timer;
private System.Windows.Forms.NotifyIcon _notifyIcon;
private System.Windows.Forms.ContextMenuStrip _contextMenuStrip;
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
}
}