Пример #1
0
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung. 
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmmain));
     this.mainMenu1 = new System.Windows.Forms.MainMenu();
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this.menuItem2 = new System.Windows.Forms.MenuItem();
     this.menuItem4 = new System.Windows.Forms.MenuItem();
     this.menuItem5 = new System.Windows.Forms.MenuItem();
     this.menuItem6 = new System.Windows.Forms.MenuItem();
     this.inputPanel1 = new Microsoft.WindowsCE.Forms.InputPanel();
     this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
     this.panelbase = new System.Windows.Forms.Panel();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPageBibel = new System.Windows.Forms.TabPage();
     this.panelmain = new System.Windows.Forms.Panel();
     this.paneldict = new System.Windows.Forms.Panel();
     this.webBrowserBible = new OpenNETCF.Windows.Forms.WebBrowser();
     this.panelHead = new System.Windows.Forms.Panel();
     this.buttonPrevChapter = new OpenNETCF.Windows.Forms.ButtonEx();
     this.buttonNextChapter = new OpenNETCF.Windows.Forms.ButtonEx();
     this.imageList1 = new System.Windows.Forms.ImageList();
     this.buttonprevBook = new OpenNETCF.Windows.Forms.ButtonEx();
     this.buttonnextBook = new OpenNETCF.Windows.Forms.ButtonEx();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.Add(this.menuItem1);
     //
     // menuItem1
     //
     this.menuItem1.MenuItems.Add(this.menuItem2);
     this.menuItem1.MenuItems.Add(this.menuItem6);
     this.menuItem1.MenuItems.Add(this.menuItem5);
     this.menuItem1.Text = "View";
     //
     // menuItem2
     //
     this.menuItem2.MenuItems.Add(this.menuItem4);
     this.menuItem2.Text = "Module";
     //
     // menuItem4
     //
     this.menuItem4.Text = "Downloader";
     this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
     //
     // menuItem5
     //
     this.menuItem5.Text = "Exit";
     //
     // menuItem6
     //
     this.menuItem6.Text = "Bibelselektor";
     this.menuItem6.Click += new System.EventHandler(this.menuItem5_Click_1);
     //
     // panelbase
     //
     this.panelbase.BackColor = System.Drawing.Color.DarkGray;
     this.panelbase.Controls.Add(this.tabControl1);
     this.panelbase.Size = new System.Drawing.Size(246, 272);
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPageBibel);
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(240, 272);
     //
     // tabPageBibel
     //
     this.tabPageBibel.Controls.Add(this.panelmain);
     this.tabPageBibel.Controls.Add(this.panelHead);
     this.tabPageBibel.Location = new System.Drawing.Point(4, 4);
     this.tabPageBibel.Size = new System.Drawing.Size(232, 246);
     this.tabPageBibel.Text = "Bibel";
     //
     // panelmain
     //
     this.panelmain.BackColor = System.Drawing.Color.RosyBrown;
     this.panelmain.Controls.Add(this.paneldict);
     this.panelmain.Controls.Add(this.webBrowserBible);
     this.panelmain.Location = new System.Drawing.Point(0, 25);
     this.panelmain.Size = new System.Drawing.Size(232, 218);
     //
     // paneldict
     //
     this.paneldict.BackColor = System.Drawing.Color.MistyRose;
     this.paneldict.Location = new System.Drawing.Point(0, 168);
     this.paneldict.Size = new System.Drawing.Size(232, 56);
     //
     // webBrowserBible
     //
     this.webBrowserBible.BackColor = System.Drawing.Color.LightCoral;
     this.webBrowserBible.Font = new System.Drawing.Font("Arial Unicode MS", 8.25F, System.Drawing.FontStyle.Regular);
     this.webBrowserBible.Size = new System.Drawing.Size(232, 176);
     this.webBrowserBible.Text = "webBrowser1";
     this.webBrowserBible.Url = null;
     //
     // panelHead
     //
     this.panelHead.BackColor = System.Drawing.Color.PeachPuff;
     this.panelHead.Controls.Add(this.buttonnextBook);
     this.panelHead.Controls.Add(this.buttonprevBook);
     this.panelHead.Controls.Add(this.buttonPrevChapter);
     this.panelHead.Controls.Add(this.buttonNextChapter);
     this.panelHead.Size = new System.Drawing.Size(240, 24);
     //
     // buttonPrevChapter
     //
     this.buttonPrevChapter.ActiveForeColor = System.Drawing.Color.PeachPuff;
     this.buttonPrevChapter.BackColor = System.Drawing.Color.PaleGoldenrod;
     this.buttonPrevChapter.Location = new System.Drawing.Point(104, 3);
     this.buttonPrevChapter.Size = new System.Drawing.Size(32, 18);
     this.buttonPrevChapter.Text = "<";
     this.buttonPrevChapter.TextAlign = OpenNETCF.Drawing.ContentAlignment.MiddleCenter;
     this.buttonPrevChapter.Click += new System.EventHandler(this.buttonPrevChapter_Click);
     //
     // buttonNextChapter
     //
     this.buttonNextChapter.BackColor = System.Drawing.Color.PaleGoldenrod;
     this.buttonNextChapter.Location = new System.Drawing.Point(144, 3);
     this.buttonNextChapter.Size = new System.Drawing.Size(32, 18);
     this.buttonNextChapter.Text = ">";
     this.buttonNextChapter.TextAlign = OpenNETCF.Drawing.ContentAlignment.MiddleCenter;
     this.buttonNextChapter.Click += new System.EventHandler(this.buttonNextChapter_Click);
     //
     // imageList1
     //
     this.imageList1.Images.Add(((System.Drawing.Image)(resources.GetObject("resource"))));
     this.imageList1.ImageSize = new System.Drawing.Size(16, 16);
     //
     // buttonprevBook
     //
     this.buttonprevBook.ActiveForeColor = System.Drawing.Color.PeachPuff;
     this.buttonprevBook.BackColor = System.Drawing.Color.OrangeRed;
     this.buttonprevBook.Location = new System.Drawing.Point(64, 3);
     this.buttonprevBook.Size = new System.Drawing.Size(32, 18);
     this.buttonprevBook.Text = "<<";
     this.buttonprevBook.TextAlign = OpenNETCF.Drawing.ContentAlignment.MiddleCenter;
     this.buttonprevBook.Click += new System.EventHandler(this.buttonprevBook_Click);
     //
     // buttonnextBook
     //
     this.buttonnextBook.BackColor = System.Drawing.Color.OrangeRed;
     this.buttonnextBook.Location = new System.Drawing.Point(184, 3);
     this.buttonnextBook.Size = new System.Drawing.Size(32, 18);
     this.buttonnextBook.Text = ">>";
     this.buttonnextBook.TextAlign = OpenNETCF.Drawing.ContentAlignment.MiddleCenter;
     this.buttonnextBook.Click += new System.EventHandler(this.buttonnextBook_Click);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     //
     // frmmain
     //
     this.ClientSize = new System.Drawing.Size(240, 273);
     this.Controls.Add(this.panelbase);
     this.Menu = this.mainMenu1;
     this.Text = "Zefania PPC";
     this.Load += new System.EventHandler(this.frmmain_Load);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panelOuter         = new System.Windows.Forms.Panel();
     this.panelInner         = new System.Windows.Forms.Panel();
     this.buttonOK           = new OpenNETCF.Windows.Forms.ButtonEx();
     this.panelUserName      = new System.Windows.Forms.Panel();
     this.labelUserNameIntro = new System.Windows.Forms.Label();
     this.labelUserName      = new System.Windows.Forms.Label();
     this.labelFirstName     = new System.Windows.Forms.Label();
     this.textBoxFirstName   = new System.Windows.Forms.TextBox();
     this.labelIntro         = new System.Windows.Forms.Label();
     this.textBoxLastName    = new System.Windows.Forms.TextBox();
     this.labelLastName      = new System.Windows.Forms.Label();
     this.mainMenu1          = new System.Windows.Forms.MainMenu();
     this.inputPanel1        = new Microsoft.WindowsCE.Forms.InputPanel();
     //
     // panelOuter
     //
     this.panelOuter.BackColor = System.Drawing.Color.Black;
     this.panelOuter.Controls.Add(this.panelInner);
     this.panelOuter.Size = new System.Drawing.Size(176, 176);
     //
     // panelInner
     //
     this.panelInner.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(218)), ((System.Byte)(228)), ((System.Byte)(248)));
     this.panelInner.Controls.Add(this.buttonOK);
     this.panelInner.Controls.Add(this.panelUserName);
     this.panelInner.Controls.Add(this.labelFirstName);
     this.panelInner.Controls.Add(this.textBoxFirstName);
     this.panelInner.Controls.Add(this.labelIntro);
     this.panelInner.Controls.Add(this.textBoxLastName);
     this.panelInner.Controls.Add(this.labelLastName);
     this.panelInner.Location = new System.Drawing.Point(2, 2);
     this.panelInner.Size     = new System.Drawing.Size(174, 174);
     //
     // buttonOK
     //
     this.buttonOK.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.buttonOK.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular);
     this.buttonOK.Location    = new System.Drawing.Point(112, 144);
     this.buttonOK.Size        = new System.Drawing.Size(56, 24);
     this.buttonOK.Text        = "OK";
     this.buttonOK.TextAlign   = OpenNETCF.Drawing.ContentAlignment.MiddleCenter;
     this.buttonOK.Click      += new System.EventHandler(this.buttonOK_Click);
     //
     // panelUserName
     //
     this.panelUserName.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(215)), ((System.Byte)(225)), ((System.Byte)(251)));
     this.panelUserName.Controls.Add(this.labelUserNameIntro);
     this.panelUserName.Controls.Add(this.labelUserName);
     this.panelUserName.Location = new System.Drawing.Point(6, 107);
     this.panelUserName.Size     = new System.Drawing.Size(161, 28);
     //
     // labelUserNameIntro
     //
     this.labelUserNameIntro.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular);
     this.labelUserNameIntro.ForeColor = System.Drawing.Color.Black;
     this.labelUserNameIntro.Location  = new System.Drawing.Point(3, 6);
     this.labelUserNameIntro.Size      = new System.Drawing.Size(70, 16);
     this.labelUserNameIntro.Text      = "User Name:";
     //
     // labelUserName
     //
     this.labelUserName.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular);
     this.labelUserName.ForeColor = System.Drawing.Color.Firebrick;
     this.labelUserName.Location  = new System.Drawing.Point(79, 6);
     this.labelUserName.Size      = new System.Drawing.Size(72, 16);
     this.labelUserName.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // labelFirstName
     //
     this.labelFirstName.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular);
     this.labelFirstName.ForeColor = System.Drawing.Color.Blue;
     this.labelFirstName.Location  = new System.Drawing.Point(6, 43);
     this.labelFirstName.Size      = new System.Drawing.Size(63, 16);
     this.labelFirstName.Text      = "First Name:";
     //
     // textBoxFirstName
     //
     this.textBoxFirstName.BackColor    = System.Drawing.SystemColors.Control;
     this.textBoxFirstName.Location     = new System.Drawing.Point(76, 40);
     this.textBoxFirstName.Size         = new System.Drawing.Size(90, 22);
     this.textBoxFirstName.Text         = "";
     this.textBoxFirstName.KeyPress    += new System.Windows.Forms.KeyPressEventHandler(this.textBoxName_KeyPress);
     this.textBoxFirstName.TextChanged += new System.EventHandler(this.textBoxFirstName_TextChanged);
     //
     // labelIntro
     //
     this.labelIntro.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular);
     this.labelIntro.ForeColor = System.Drawing.Color.Blue;
     this.labelIntro.Location  = new System.Drawing.Point(6, 5);
     this.labelIntro.Size      = new System.Drawing.Size(164, 28);
     this.labelIntro.Text      = "Please identify the primary user of this device:";
     //
     // textBoxLastName
     //
     this.textBoxLastName.BackColor    = System.Drawing.SystemColors.Control;
     this.textBoxLastName.Location     = new System.Drawing.Point(76, 72);
     this.textBoxLastName.Size         = new System.Drawing.Size(90, 22);
     this.textBoxLastName.Text         = "";
     this.textBoxLastName.KeyPress    += new System.Windows.Forms.KeyPressEventHandler(this.textBoxName_KeyPress);
     this.textBoxLastName.TextChanged += new System.EventHandler(this.textBoxLastName_TextChanged);
     //
     // labelLastName
     //
     this.labelLastName.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular);
     this.labelLastName.ForeColor = System.Drawing.Color.Blue;
     this.labelLastName.Location  = new System.Drawing.Point(6, 75);
     this.labelLastName.Size      = new System.Drawing.Size(63, 16);
     this.labelLastName.Text      = "Last Name:";
     this.FormBorderStyle         = System.Windows.Forms.FormBorderStyle.None;
     //
     // frmGetNameInfo
     //
     this.ClientSize = new System.Drawing.Size(178, 178);
     this.ControlBox = false;
     this.Controls.Add(this.panelOuter);
     this.MaximizeBox = false;
     this.Menu        = this.mainMenu1;
     this.MinimizeBox = false;
     this.Text        = "Pocket Pollster";
 }