Exemple #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.components = new System.ComponentModel.Container();
     MetroSuite.MetroTabControl.MainColorScheme     mainColorScheme1 = new MetroSuite.MetroTabControl.MainColorScheme();
     MetroSuite.MetroTextBox.MainColorScheme        mainColorScheme2 = new MetroSuite.MetroTextBox.MainColorScheme();
     System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.metroTabControl1 = new MetroSuite.MetroTabControl();
     this.tabPage5         = new System.Windows.Forms.TabPage();
     this.metroTextBox1    = new MetroSuite.MetroTextBox();
     this.button_remove    = new MetroFramework.Controls.MetroButton();
     this.listView1        = new System.Windows.Forms.ListView();
     this.columnHeader1    = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader2    = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.columnHeader3    = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.button_addNew    = new MetroFramework.Controls.MetroButton();
     this.tabPage2         = new System.Windows.Forms.TabPage();
     this.tabPage3         = new System.Windows.Forms.TabPage();
     this.tabPage4         = new System.Windows.Forms.TabPage();
     this.tabPage6         = new System.Windows.Forms.TabPage();
     this.tabPage1         = new System.Windows.Forms.TabPage();
     this.comboBox1        = new System.Windows.Forms.ComboBox();
     this.metroPieChart1   = new MetroSuite.MetroPieChart();
     this.timer1           = new System.Windows.Forms.Timer(this.components);
     this.toolTip1         = new System.Windows.Forms.ToolTip(this.components);
     this.notifyIcon1      = new System.Windows.Forms.NotifyIcon(this.components);
     this.timer2           = new System.Windows.Forms.Timer(this.components);
     this.button1          = new System.Windows.Forms.Button();
     this.metroTabControl1.SuspendLayout();
     this.tabPage5.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.SuspendLayout();
     //
     // metroTabControl1
     //
     this.metroTabControl1.Alignment       = System.Windows.Forms.TabAlignment.Left;
     mainColorScheme1.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     mainColorScheme1.BackColorTabPage     = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     mainColorScheme1.BorderColor          = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(164)))), ((int)(((byte)(240)))));
     mainColorScheme1.LineColor            = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     mainColorScheme1.NotSelectedTabColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     mainColorScheme1.NotSelectedTabColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     mainColorScheme1.NotSelectedTabColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     mainColorScheme1.PolygonColor         = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     mainColorScheme1.SelectedTabColor1    = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     mainColorScheme1.SelectedTabColor2    = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     mainColorScheme1.SelectedTabColor3    = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     this.metroTabControl1.ColorScheme     = mainColorScheme1;
     this.metroTabControl1.Controls.Add(this.tabPage5);
     this.metroTabControl1.Controls.Add(this.tabPage2);
     this.metroTabControl1.Controls.Add(this.tabPage3);
     this.metroTabControl1.Controls.Add(this.tabPage4);
     this.metroTabControl1.Controls.Add(this.tabPage6);
     this.metroTabControl1.Controls.Add(this.tabPage1);
     this.metroTabControl1.DoAnimation         = true;
     this.metroTabControl1.DrawPolygon         = false;
     this.metroTabControl1.Font                = new System.Drawing.Font("Segoe UI", 9F);
     this.metroTabControl1.FontNotSelectedTabs = new System.Drawing.Font("Segoe UI", 9F);
     this.metroTabControl1.FontSelectedTab     = new System.Drawing.Font("Segoe UI", 9F);
     this.metroTabControl1.ItemSize            = new System.Drawing.Size(44, 120);
     this.metroTabControl1.Location            = new System.Drawing.Point(0, 78);
     this.metroTabControl1.Margin              = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.metroTabControl1.Multiline           = true;
     this.metroTabControl1.Name                = "metroTabControl1";
     this.metroTabControl1.SelectedIndex       = 0;
     this.metroTabControl1.SelectedTabBold     = false;
     this.metroTabControl1.Size                = new System.Drawing.Size(1076, 667);
     this.metroTabControl1.SizeMode            = System.Windows.Forms.TabSizeMode.Fixed;
     this.metroTabControl1.Speed               = 9;
     this.metroTabControl1.Style               = MetroSuite.MetroTabControl.eStyle.Dark;
     this.metroTabControl1.TabIndex            = 1;
     //
     // tabPage5
     //
     this.tabPage5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     this.tabPage5.Controls.Add(this.metroTextBox1);
     this.tabPage5.Controls.Add(this.button_remove);
     this.tabPage5.Controls.Add(this.listView1);
     this.tabPage5.Controls.Add(this.button_addNew);
     this.tabPage5.Location = new System.Drawing.Point(124, 4);
     this.tabPage5.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tabPage5.Name     = "tabPage5";
     this.tabPage5.Padding  = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tabPage5.Size     = new System.Drawing.Size(948, 659);
     this.tabPage5.TabIndex = 4;
     this.tabPage5.Text     = "Quick Entries";
     //
     // metroTextBox1
     //
     this.metroTextBox1.BanChars                   = false;
     mainColorScheme2.BorderColorHover             = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(164)))), ((int)(((byte)(240)))));
     mainColorScheme2.BorderColorNormal            = System.Drawing.Color.FromArgb(((int)(((byte)(98)))), ((int)(((byte)(98)))), ((int)(((byte)(98)))));
     mainColorScheme2.MainColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
     this.metroTextBox1.ColorScheme                = mainColorScheme2;
     this.metroTextBox1.DefaultText                = null;
     this.metroTextBox1.DefaultTextColor           = System.Drawing.Color.LightGray;
     this.metroTextBox1.DefaultTextNormalForeColor = System.Drawing.SystemColors.ControlText;
     this.metroTextBox1.Font           = new System.Drawing.Font("Segoe UI", 9F);
     this.metroTextBox1.ForeColor      = System.Drawing.Color.Black;
     this.metroTextBox1.IllegalChars   = ((System.Collections.Generic.List <char>)(resources.GetObject("metroTextBox1.IllegalChars")));
     this.metroTextBox1.Location       = new System.Drawing.Point(653, 10);
     this.metroTextBox1.Margin         = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.metroTextBox1.Name           = "metroTextBox1";
     this.metroTextBox1.Size           = new System.Drawing.Size(232, 28);
     this.metroTextBox1.Style          = MetroSuite.Design.Style.Dark;
     this.metroTextBox1.TabIndex       = 3;
     this.metroTextBox1.Text           = "Search";
     this.metroTextBox1.TextAlign      = System.Windows.Forms.HorizontalAlignment.Left;
     this.metroTextBox1.UseDefaultText = false;
     this.metroTextBox1.TextChanged   += new System.EventHandler(this.metroTextBox1_TextChanged);
     this.metroTextBox1.Enter         += new System.EventHandler(this.metroTextBox1_Enter);
     //
     // button_remove
     //
     this.button_remove.Location      = new System.Drawing.Point(132, 10);
     this.button_remove.Margin        = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.button_remove.Name          = "button_remove";
     this.button_remove.Size          = new System.Drawing.Size(100, 28);
     this.button_remove.TabIndex      = 1;
     this.button_remove.Text          = "Remove";
     this.button_remove.UseSelectable = true;
     this.button_remove.Click        += new System.EventHandler(this.button_remove_Click);
     //
     // listView1
     //
     this.listView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17)))));
     this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2,
         this.columnHeader3
     });
     this.listView1.ForeColor     = System.Drawing.Color.Silver;
     this.listView1.FullRowSelect = true;
     this.listView1.Location      = new System.Drawing.Point(7, 48);
     this.listView1.Margin        = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.listView1.MultiSelect   = false;
     this.listView1.Name          = "listView1";
     this.listView1.Size          = new System.Drawing.Size(893, 607);
     this.listView1.TabIndex      = 0;
     this.listView1.UseCompatibleStateImageBehavior = false;
     this.listView1.View              = System.Windows.Forms.View.Details;
     this.listView1.ColumnClick      += new System.Windows.Forms.ColumnClickEventHandler(this.listView1_ColumnClick);
     this.listView1.DrawColumnHeader += new System.Windows.Forms.DrawListViewColumnHeaderEventHandler(this.listView1_DrawColumnHeader);
     this.listView1.Click            += new System.EventHandler(this.listView1_Click);
     this.listView1.DoubleClick      += new System.EventHandler(this.listView1_DoubleClick);
     this.listView1.KeyDown          += new System.Windows.Forms.KeyEventHandler(this.listView1_KeyDown);
     //
     // columnHeader1
     //
     this.columnHeader1.Text  = "Nr";
     this.columnHeader1.Width = 30;
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "Title";
     this.columnHeader2.Width = 571;
     //
     // columnHeader3
     //
     this.columnHeader3.Text  = "Date";
     this.columnHeader3.Width = 66;
     //
     // button_addNew
     //
     this.button_addNew.Location      = new System.Drawing.Point(24, 10);
     this.button_addNew.Margin        = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.button_addNew.Name          = "button_addNew";
     this.button_addNew.Size          = new System.Drawing.Size(100, 28);
     this.button_addNew.TabIndex      = 0;
     this.button_addNew.Text          = "Add new";
     this.button_addNew.UseSelectable = true;
     this.button_addNew.Click        += new System.EventHandler(this.button_addNew_Click);
     //
     // tabPage2
     //
     this.tabPage2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     this.tabPage2.Location  = new System.Drawing.Point(124, 4);
     this.tabPage2.Margin    = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tabPage2.Name      = "tabPage2";
     this.tabPage2.Padding   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tabPage2.Size      = new System.Drawing.Size(948, 659);
     this.tabPage2.TabIndex  = 1;
     this.tabPage2.Text      = "Education";
     //
     // tabPage3
     //
     this.tabPage3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     this.tabPage3.Location  = new System.Drawing.Point(124, 4);
     this.tabPage3.Margin    = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tabPage3.Name      = "tabPage3";
     this.tabPage3.Padding   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tabPage3.Size      = new System.Drawing.Size(948, 659);
     this.tabPage3.TabIndex  = 2;
     this.tabPage3.Text      = "Entertainment";
     //
     // tabPage4
     //
     this.tabPage4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     this.tabPage4.Location  = new System.Drawing.Point(124, 4);
     this.tabPage4.Margin    = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tabPage4.Name      = "tabPage4";
     this.tabPage4.Padding   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tabPage4.Size      = new System.Drawing.Size(948, 659);
     this.tabPage4.TabIndex  = 3;
     this.tabPage4.Text      = "Life";
     //
     // tabPage6
     //
     this.tabPage6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     this.tabPage6.Location  = new System.Drawing.Point(124, 4);
     this.tabPage6.Margin    = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tabPage6.Name      = "tabPage6";
     this.tabPage6.Padding   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tabPage6.Size      = new System.Drawing.Size(948, 659);
     this.tabPage6.TabIndex  = 5;
     this.tabPage6.Text      = "Quiz";
     //
     // tabPage1
     //
     this.tabPage1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(40)))), ((int)(((byte)(40)))));
     this.tabPage1.Controls.Add(this.comboBox1);
     this.tabPage1.Controls.Add(this.metroPieChart1);
     this.tabPage1.Location = new System.Drawing.Point(124, 4);
     this.tabPage1.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Padding  = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tabPage1.Size     = new System.Drawing.Size(948, 659);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Activity Monitor";
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location          = new System.Drawing.Point(291, 32);
     this.comboBox1.Margin            = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.comboBox1.Name                  = "comboBox1";
     this.comboBox1.Size                  = new System.Drawing.Size(287, 28);
     this.comboBox1.TabIndex              = 3;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // metroPieChart1
     //
     this.metroPieChart1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(18)))), ((int)(((byte)(173)))), ((int)(((byte)(196)))));
     this.metroPieChart1.Location    = new System.Drawing.Point(291, 110);
     this.metroPieChart1.Margin      = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.metroPieChart1.Name        = "metroPieChart1";
     this.metroPieChart1.Size        = new System.Drawing.Size(288, 364);
     this.metroPieChart1.TabIndex    = 0;
     this.metroPieChart1.Text        = "metroPieChart1";
     //
     // timer1
     //
     this.timer1.Enabled  = true;
     this.timer1.Interval = 1000;
     this.timer1.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // notifyIcon1
     //
     this.notifyIcon1.Icon              = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
     this.notifyIcon1.Text              = "Encyclopedia";
     this.notifyIcon1.Visible           = true;
     this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick);
     //
     // timer2
     //
     this.timer2.Enabled  = true;
     this.timer2.Interval = 5000;
     this.timer2.Tick    += new System.EventHandler(this.timer2_Tick);
     //
     // button1
     //
     this.button1.Image    = global::Encyclopedia_2._0.Properties.Resources.Very_Basic_settings;
     this.button1.Location = new System.Drawing.Point(1017, 42);
     this.button1.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(33, 28);
     this.button1.TabIndex = 4;
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1067, 738);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.metroTabControl1);
     this.Icon         = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin       = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.MaximizeBox  = false;
     this.Name         = "Form1";
     this.Padding      = new System.Windows.Forms.Padding(27, 74, 27, 25);
     this.Style        = MetroFramework.MetroColorStyle.Red;
     this.Text         = "Encyclopedia";
     this.Theme        = MetroFramework.MetroThemeStyle.Dark;
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
     this.Load        += new System.EventHandler(this.Form1_Load);
     this.metroTabControl1.ResumeLayout(false);
     this.tabPage5.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     MetroSuite.MetroTextBox.MainColorScheme        mainColorScheme1 = new MetroSuite.MetroTextBox.MainColorScheme();
     System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(TextEditor));
     this.richTextBox1  = new System.Windows.Forms.RichTextBox();
     this.metroTextBox1 = new MetroSuite.MetroTextBox();
     this.metroButton1  = new MetroFramework.Controls.MetroButton();
     this.SuspendLayout();
     //
     // richTextBox1
     //
     this.richTextBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(33)))), ((int)(((byte)(33)))), ((int)(((byte)(33)))));
     this.richTextBox1.ForeColor = System.Drawing.Color.Silver;
     this.richTextBox1.Location  = new System.Drawing.Point(0, 63);
     this.richTextBox1.Name      = "richTextBox1";
     this.richTextBox1.Size      = new System.Drawing.Size(600, 437);
     this.richTextBox1.TabIndex  = 0;
     this.richTextBox1.Text      = "";
     this.richTextBox1.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.richTextBox1_KeyDown);
     //
     // metroTextBox1
     //
     this.metroTextBox1.BanChars                   = false;
     mainColorScheme1.BorderColorHover             = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(164)))), ((int)(((byte)(240)))));
     mainColorScheme1.BorderColorNormal            = System.Drawing.Color.FromArgb(((int)(((byte)(98)))), ((int)(((byte)(98)))), ((int)(((byte)(98)))));
     mainColorScheme1.MainColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(51)))), ((int)(((byte)(51)))));
     this.metroTextBox1.ColorScheme                = mainColorScheme1;
     this.metroTextBox1.DefaultText                = null;
     this.metroTextBox1.DefaultTextColor           = System.Drawing.Color.LightGray;
     this.metroTextBox1.DefaultTextNormalForeColor = System.Drawing.SystemColors.ControlText;
     this.metroTextBox1.Font           = new System.Drawing.Font("Segoe UI", 9F);
     this.metroTextBox1.ForeColor      = System.Drawing.Color.Black;
     this.metroTextBox1.IllegalChars   = ((System.Collections.Generic.List <char>)(resources.GetObject("metroTextBox1.IllegalChars")));
     this.metroTextBox1.Location       = new System.Drawing.Point(415, 34);
     this.metroTextBox1.Name           = "metroTextBox1";
     this.metroTextBox1.Size           = new System.Drawing.Size(174, 23);
     this.metroTextBox1.Style          = MetroSuite.Design.Style.Dark;
     this.metroTextBox1.TabIndex       = 1;
     this.metroTextBox1.Text           = "metroTextBox1";
     this.metroTextBox1.TextAlign      = System.Windows.Forms.HorizontalAlignment.Left;
     this.metroTextBox1.UseDefaultText = false;
     this.metroTextBox1.Enter         += new System.EventHandler(this.metroTextBox1_Enter);
     //
     // metroButton1
     //
     this.metroButton1.Location      = new System.Drawing.Point(385, 34);
     this.metroButton1.Name          = "metroButton1";
     this.metroButton1.Size          = new System.Drawing.Size(24, 23);
     this.metroButton1.TabIndex      = 2;
     this.metroButton1.Text          = "P";
     this.metroButton1.UseSelectable = true;
     this.metroButton1.Click        += new System.EventHandler(this.metroButton1_Click);
     //
     // TextEditor
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(600, 500);
     this.Controls.Add(this.metroButton1);
     this.Controls.Add(this.metroTextBox1);
     this.Controls.Add(this.richTextBox1);
     this.Icon         = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox  = false;
     this.Name         = "TextEditor";
     this.Text         = "Quick Entry";
     this.Theme        = MetroFramework.MetroThemeStyle.Dark;
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TextEditor_FormClosing);
     this.ResumeLayout(false);
 }