Exemplo n.º 1
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.buttonPage = new System.Windows.Forms.Button();
			this.buttonMenu = new System.Windows.Forms.Button();
			this.buttonStartStop = new System.Windows.Forms.Button();
			this.notifyIcon = new OpenNETCF.Windows.Forms.NotifyIcon();
			this.pluginPanel = new System.Windows.Forms.Panel();
			this.logPanel = new System.Windows.Forms.Panel();
			this.logTextBox = new OpenNETCF.Windows.Forms.TextBoxEx();
			this.contextMenuLog = new System.Windows.Forms.ContextMenu();
			this.menuItemCopy = new System.Windows.Forms.MenuItem();
			this.reconnectTimer = new System.Windows.Forms.Timer();
			// 
			// buttonPage
			// 
			this.buttonPage.Location = new System.Drawing.Point(0, 256);
			this.buttonPage.Size = new System.Drawing.Size(88, 38);
			this.buttonPage.Text = "Page";
			this.buttonPage.Click += new System.EventHandler(this.buttonPage_Click);
			// 
			// buttonMenu
			// 
			this.buttonMenu.Location = new System.Drawing.Point(88, 256);
			this.buttonMenu.Size = new System.Drawing.Size(64, 38);
			this.buttonMenu.Text = "Menu";
			this.buttonMenu.Click += new System.EventHandler(this.buttonMenu_Click);
			// 
			// buttonStartStop
			// 
			this.buttonStartStop.Location = new System.Drawing.Point(152, 256);
			this.buttonStartStop.Size = new System.Drawing.Size(88, 38);
			this.buttonStartStop.Text = "Start";
			this.buttonStartStop.Click += new System.EventHandler(this.buttonStartStop_Click);
			// 
			// notifyIcon
			// 
			// TODO: Code generation for 'this.notifyIcon.IconHandle' failed because of Exception 'Invalid Primitive Type: System.IntPtr. Only CLS compliant primitive types can be used. Consider using CodeObjectCreateExpression.'.
			this.notifyIcon.Text = "GPSProxy";
			this.notifyIcon.Click += new System.EventHandler(this.notifyIcon_Click);
			// 
			// pluginPanel
			// 
			this.pluginPanel.Size = new System.Drawing.Size(240, 256);
			// 
			// logPanel
			// 
			this.logPanel.Controls.Add(this.logTextBox);
			this.logPanel.Size = new System.Drawing.Size(240, 256);
			// 
			// logTextBox
			// 
			this.logTextBox.ContextMenu = this.contextMenuLog;
			this.logTextBox.Multiline = true;
			this.logTextBox.ReadOnly = true;
			this.logTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
			this.logTextBox.Size = new System.Drawing.Size(240, 256);
			this.logTextBox.Style = OpenNETCF.Windows.Forms.TextBoxStyle.Default;
			this.logTextBox.Text = "";
			// 
			// contextMenuLog
			// 
			this.contextMenuLog.MenuItems.Add(this.menuItemCopy);
			// 
			// menuItemCopy
			// 
			this.menuItemCopy.Text = "Copy";
			this.menuItemCopy.Click += new System.EventHandler(this.menuItemCopy_Click);
			// 
			// reconnectTimer
			// 
			this.reconnectTimer.Tick += new System.EventHandler(this.reconnectTimer_Tick);
			// 
			// FormMain
			// 
			this.ClientSize = new System.Drawing.Size(240, 294);
			this.Controls.Add(this.logPanel);
			this.Controls.Add(this.pluginPanel);
			this.Controls.Add(this.buttonStartStop);
			this.Controls.Add(this.buttonMenu);
			this.Controls.Add(this.buttonPage);
			this.Text = "GPSProxy";
			this.Closing += new System.ComponentModel.CancelEventHandler(this.FormMain_Closing);
			this.Load += new System.EventHandler(this.FormMain_Load);

		}
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of the NotifyIconMessageWindow class.
 /// </summary>
 /// <param name="parent">NotifyIcon for which this MessageWindow is operating.</param>
 public NotifyIconMessageWindow(NotifyIcon parent)
 {
     m_parent = parent;
 }