Esempio 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);

		}
Esempio n. 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmSelectFile));
     this.labelInstructions  = new System.Windows.Forms.Label();
     this.listBoxFiles       = new OpenNETCF.Windows.Forms.ListBoxEx();
     this.mainMenu           = new System.Windows.Forms.MainMenu();
     this.menuItemBack       = new System.Windows.Forms.MenuItem();
     this.menuItemNext       = new System.Windows.Forms.MenuItem();
     this.textBoxSummary     = new OpenNETCF.Windows.Forms.TextBoxEx();
     this.labelQuestions     = new System.Windows.Forms.Label();
     this.textBoxQuestions   = new System.Windows.Forms.TextBox();
     this.labelRespondents   = new System.Windows.Forms.Label();
     this.textBoxRespondents = new System.Windows.Forms.TextBox();
     this.textBoxRevision    = new System.Windows.Forms.TextBox();
     this.labelRevision      = new System.Windows.Forms.Label();
     //
     // labelInstructions
     //
     this.labelInstructions.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular);
     this.labelInstructions.ForeColor = System.Drawing.Color.Blue;
     this.labelInstructions.Location  = new System.Drawing.Point(15, 8);
     this.labelInstructions.Size      = new System.Drawing.Size(200, 16);
     this.labelInstructions.Text      = "Select A File To Open:";
     //
     // listBoxFiles
     //
     this.listBoxFiles.BackColor             = System.Drawing.Color.FromArgb(((System.Byte)(237)), ((System.Byte)(240)), ((System.Byte)(245)));
     this.listBoxFiles.DataSource            = null;
     this.listBoxFiles.DisplayMember         = null;
     this.listBoxFiles.EvenItemColor         = System.Drawing.Color.FromArgb(((System.Byte)(237)), ((System.Byte)(240)), ((System.Byte)(245)));
     this.listBoxFiles.ForeColor             = System.Drawing.SystemColors.ControlText;
     this.listBoxFiles.ImageList             = null;
     this.listBoxFiles.ItemHeight            = 16;
     this.listBoxFiles.LineColor             = System.Drawing.Color.Black;
     this.listBoxFiles.Location              = new System.Drawing.Point(16, 29);
     this.listBoxFiles.SelectedIndex         = -1;
     this.listBoxFiles.ShowLines             = false;
     this.listBoxFiles.ShowScrollbar         = true;
     this.listBoxFiles.Size                  = new System.Drawing.Size(208, 88);
     this.listBoxFiles.TopIndex              = 0;
     this.listBoxFiles.WrapText              = false;
     this.listBoxFiles.SelectedIndexChanged += new System.EventHandler(this.listBoxFiles_SelectedIndexChanged);
     //
     // mainMenu
     //
     this.mainMenu.MenuItems.Add(this.menuItemBack);
     this.mainMenu.MenuItems.Add(this.menuItemNext);
     //
     // menuItemBack
     //
     this.menuItemBack.Text   = "< Back";
     this.menuItemBack.Click += new System.EventHandler(this.menuItemBack_Click);
     //
     // menuItemNext
     //
     this.menuItemNext.Enabled = false;
     this.menuItemNext.Text    = "Next >";
     this.menuItemNext.Click  += new System.EventHandler(this.menuItemNext_Click);
     //
     // textBoxSummary
     //
     this.textBoxSummary.BackColor  = System.Drawing.Color.FromArgb(((System.Byte)(198)), ((System.Byte)(212)), ((System.Byte)(232)));
     this.textBoxSummary.Location   = new System.Drawing.Point(16, 154);
     this.textBoxSummary.Multiline  = true;
     this.textBoxSummary.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.textBoxSummary.Size       = new System.Drawing.Size(208, 110);
     this.textBoxSummary.Style      = OpenNETCF.Windows.Forms.TextBoxStyle.Default;
     this.textBoxSummary.Text       = "";
     this.textBoxSummary.KeyPress  += new System.Windows.Forms.KeyPressEventHandler(this.textBox_KeyPress);
     //
     // labelQuestions
     //
     this.labelQuestions.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular);
     this.labelQuestions.ForeColor = System.Drawing.Color.Black;
     this.labelQuestions.Location  = new System.Drawing.Point(86, 128);
     this.labelQuestions.Size      = new System.Drawing.Size(41, 16);
     this.labelQuestions.Text      = "Quest:";
     //
     // textBoxQuestions
     //
     this.textBoxQuestions.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(198)), ((System.Byte)(212)), ((System.Byte)(232)));
     this.textBoxQuestions.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular);
     this.textBoxQuestions.Location  = new System.Drawing.Point(126, 126);
     this.textBoxQuestions.Size      = new System.Drawing.Size(25, 20);
     this.textBoxQuestions.Text      = "";
     this.textBoxQuestions.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox_KeyPress);
     //
     // labelRespondents
     //
     this.labelRespondents.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular);
     this.labelRespondents.ForeColor = System.Drawing.Color.Black;
     this.labelRespondents.Location  = new System.Drawing.Point(15, 128);
     this.labelRespondents.Size      = new System.Drawing.Size(35, 16);
     this.labelRespondents.Text      = "Resp:";
     //
     // textBoxRespondents
     //
     this.textBoxRespondents.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(198)), ((System.Byte)(212)), ((System.Byte)(232)));
     this.textBoxRespondents.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular);
     this.textBoxRespondents.Location  = new System.Drawing.Point(49, 126);
     this.textBoxRespondents.Size      = new System.Drawing.Size(25, 20);
     this.textBoxRespondents.Text      = "";
     this.textBoxRespondents.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox_KeyPress);
     //
     // textBoxRevision
     //
     this.textBoxRevision.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(198)), ((System.Byte)(212)), ((System.Byte)(232)));
     this.textBoxRevision.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular);
     this.textBoxRevision.Location  = new System.Drawing.Point(199, 126);
     this.textBoxRevision.Size      = new System.Drawing.Size(25, 20);
     this.textBoxRevision.Text      = "";
     //
     // labelRevision
     //
     this.labelRevision.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular);
     this.labelRevision.ForeColor = System.Drawing.Color.Black;
     this.labelRevision.Location  = new System.Drawing.Point(168, 128);
     this.labelRevision.Size      = new System.Drawing.Size(31, 16);
     this.labelRevision.Text      = "Rev:";
     //
     // frmSelectFile
     //
     this.BackColor  = System.Drawing.Color.LightSteelBlue;
     this.ControlBox = false;
     this.Controls.Add(this.textBoxRevision);
     this.Controls.Add(this.labelRevision);
     this.Controls.Add(this.textBoxRespondents);
     this.Controls.Add(this.labelRespondents);
     this.Controls.Add(this.textBoxQuestions);
     this.Controls.Add(this.labelQuestions);
     this.Controls.Add(this.textBoxSummary);
     this.Controls.Add(this.listBoxFiles);
     this.Controls.Add(this.labelInstructions);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.Menu        = this.mainMenu;
     this.MinimizeBox = false;
     this.Text        = "Pocket Pollster";
     this.Closed     += new System.EventHandler(this.frmSelectFile_Closed);
 }