From b2a2a454403c5ac6efdca40ddb8cb800b9a8f66d Mon Sep 17 00:00:00 2001 From: Alessandro Mandelli Date: Fri, 3 Jul 2020 10:39:47 +0200 Subject: [PATCH 1/3] Commit porting to .net5 --- MetroFramework.Demo/Data/Books.xml | 540 ------ .../Localization/MetroLocalize.cs | 157 -- .../de/MetroMessageBoxControl.xml | 31 - .../Localization/de/MetroToggle.xml | 11 - .../Localization/en/MetroToggle.xml | 11 - .../Localization/tr/MetroToggle.xml | 11 - MetroFramework.Demo/MainForm.Designer.cs | 1622 ----------------- MetroFramework.Demo/MainForm.cs | 99 - MetroFramework.Demo/MainForm.resx | 135 -- .../MetroFramework.Demo.csproj | 152 -- MetroFramework.Demo/Program.cs | 21 - .../Properties/AssemblyInfo.cs | 36 - .../Properties/Resources.Designer.cs | 83 - MetroFramework.Demo/Properties/Resources.resx | 128 -- .../Properties/Settings.Designer.cs | 26 - .../Properties/Settings.settings | 7 - .../Resources/AttachOrDetach_7014.png | Bin 233 -> 0 bytes MetroFramework.Demo/Resources/GitHub-Mark.png | Bin 18154 -> 0 bytes .../TaskWindowControl.Designer.cs | 59 - MetroFramework.Demo/TaskWindowControl.cs | 18 - MetroFramework.Demo/TaskWindowControl.resx | 120 -- MetroFramework.Demo/app.config | 3 - .../Controls/MetroButtonDesigner.cs | 1 - .../Controls/MetroPanelDesigner.cs | 8 +- .../MetroFramework.Design.csproj | 90 +- .../Properties/AssemblyInfo.cs | 25 - .../MetroFramework.Fonts.csproj | 57 +- .../Properties/AssemblyInfo.cs | 25 - MetroFramework.sln | 26 +- .../Controls/MetroDropDownButton.cs | 158 +- MetroFramework/Controls/MetroListView.cs | 2 +- MetroFramework/Controls/MetroTextBox.cs | 19 +- MetroFramework/MetroFramework.csproj | 302 +-- MetroFramework/Properties/AssemblyInfo.cs | 25 - 34 files changed, 223 insertions(+), 3785 deletions(-) delete mode 100644 MetroFramework.Demo/Data/Books.xml delete mode 100644 MetroFramework.Demo/Localization/MetroLocalize.cs delete mode 100644 MetroFramework.Demo/Localization/de/MetroMessageBoxControl.xml delete mode 100644 MetroFramework.Demo/Localization/de/MetroToggle.xml delete mode 100644 MetroFramework.Demo/Localization/en/MetroToggle.xml delete mode 100644 MetroFramework.Demo/Localization/tr/MetroToggle.xml delete mode 100644 MetroFramework.Demo/MainForm.Designer.cs delete mode 100644 MetroFramework.Demo/MainForm.cs delete mode 100644 MetroFramework.Demo/MainForm.resx delete mode 100644 MetroFramework.Demo/MetroFramework.Demo.csproj delete mode 100644 MetroFramework.Demo/Program.cs delete mode 100644 MetroFramework.Demo/Properties/AssemblyInfo.cs delete mode 100644 MetroFramework.Demo/Properties/Resources.Designer.cs delete mode 100644 MetroFramework.Demo/Properties/Resources.resx delete mode 100644 MetroFramework.Demo/Properties/Settings.Designer.cs delete mode 100644 MetroFramework.Demo/Properties/Settings.settings delete mode 100644 MetroFramework.Demo/Resources/AttachOrDetach_7014.png delete mode 100644 MetroFramework.Demo/Resources/GitHub-Mark.png delete mode 100644 MetroFramework.Demo/TaskWindowControl.Designer.cs delete mode 100644 MetroFramework.Demo/TaskWindowControl.cs delete mode 100644 MetroFramework.Demo/TaskWindowControl.resx delete mode 100644 MetroFramework.Demo/app.config diff --git a/MetroFramework.Demo/Data/Books.xml b/MetroFramework.Demo/Data/Books.xml deleted file mode 100644 index f1d56037..00000000 --- a/MetroFramework.Demo/Data/Books.xml +++ /dev/null @@ -1,540 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - bk111 - Gambardella, Matthew - XML Developer's Guide - Computer - 44.95 - 2000-10-01 - An in-depth look at creating applications - with XML. - - - bk102 - Ralls, Kim - Midnight Rain - Fantasy - 5.95 - 2000-12-16 - A former architect battles corporate zombies, - an evil sorceress, and her own childhood to become queen - of the world. - - - bk103 - Corets, Eva - Maeve Ascendant - Fantasy - 5.95 - 2000-11-17 - After the collapse of a nanotechnology - society in England, the young survivors lay the - foundation for a new society. - - - bk104 - Corets, Eva - Oberon's Legacy - Fantasy - 5.95 - 2001-03-10 - In post-apocalypse England, the mysterious - agent known only as Oberon helps to create a new life - for the inhabitants of London. Sequel to Maeve - Ascendant. - - - bk105 - Corets, Eva - The Sundered Grail - Fantasy - 5.95 - 2001-09-10 - The two daughters of Maeve, half-sisters, - battle one another for control of England. Sequel to - Oberon's Legacy. - - - bk106 - Randall, Cynthia - Lover Birds - Romance - 4.95 - 2000-09-02 - When Carla meets Paul at an ornithology - conference, tempers fly as feathers get ruffled. - - - bk107 - Thurman, Paula - Splish Splash - Romance - 4.95 - 2000-11-02 - A deep sea diver finds true love twenty - thousand leagues beneath the sea. - - - bk108 - Knorr, Stefan - Creepy Crawlies - Horror - 4.95 - 2000-12-06 - An anthology of horror stories about roaches, - centipedes, scorpions and other insects. - - - bk109 - Kress, Peter - Paradox Lost - Science Fiction - 6.95 - 2000-11-02 - After an inadvertant trip through a Heisenberg - Uncertainty Device, James Salway discovers the problems - of being quantum. - - - bk110 - O'Brien, Tim - Microsoft .NET: The Programming Bible - Computer - 36.95 - 2000-12-09 - Microsoft's .NET initiative is explored in - detail in this deep programmer's reference. - - - bk111 - O'Brien, Tim - MSXML3: A Comprehensive Guide - Computer - 36.95 - 2000-12-01 - The Microsoft MSXML3 parser is covered in - detail, with attention to XML DOM interfaces, XSLT processing, - SAX and more. - - - bk112 - Galos, Mike - Visual Studio 7: A Comprehensive Guide - Computer - 49.95 - 2001-04-16 - Microsoft Visual Studio 7 is explored in depth, - looking at how Visual Basic, Visual C++, C#, and ASP+ are - integrated into a comprehensive development - environment. - - - bk111 - Gambardella, Matthew - XML Developer's Guide - Computer - 44.95 - 2000-10-01 - An in-depth look at creating applications - with XML. - - - bk102 - Ralls, Kim - Midnight Rain - Fantasy - 5.95 - 2000-12-16 - A former architect battles corporate zombies, - an evil sorceress, and her own childhood to become queen - of the world. - - - bk103 - Corets, Eva - Maeve Ascendant - Fantasy - 5.95 - 2000-11-17 - After the collapse of a nanotechnology - society in England, the young survivors lay the - foundation for a new society. - - - bk104 - Corets, Eva - Oberon's Legacy - Fantasy - 5.95 - 2001-03-10 - In post-apocalypse England, the mysterious - agent known only as Oberon helps to create a new life - for the inhabitants of London. Sequel to Maeve - Ascendant. - - - bk105 - Corets, Eva - The Sundered Grail - Fantasy - 5.95 - 2001-09-10 - The two daughters of Maeve, half-sisters, - battle one another for control of England. Sequel to - Oberon's Legacy. - - - bk106 - Randall, Cynthia - Lover Birds - Romance - 4.95 - 2000-09-02 - When Carla meets Paul at an ornithology - conference, tempers fly as feathers get ruffled. - - - bk107 - Thurman, Paula - Splish Splash - Romance - 4.95 - 2000-11-02 - A deep sea diver finds true love twenty - thousand leagues beneath the sea. - - - bk108 - Knorr, Stefan - Creepy Crawlies - Horror - 4.95 - 2000-12-06 - An anthology of horror stories about roaches, - centipedes, scorpions and other insects. - - - bk109 - Kress, Peter - Paradox Lost - Science Fiction - 6.95 - 2000-11-02 - After an inadvertant trip through a Heisenberg - Uncertainty Device, James Salway discovers the problems - of being quantum. - - - bk110 - O'Brien, Tim - Microsoft .NET: The Programming Bible - Computer - 36.95 - 2000-12-09 - Microsoft's .NET initiative is explored in - detail in this deep programmer's reference. - - - bk111 - O'Brien, Tim - MSXML3: A Comprehensive Guide - Computer - 36.95 - 2000-12-01 - The Microsoft MSXML3 parser is covered in - detail, with attention to XML DOM interfaces, XSLT processing, - SAX and more. - - - bk112 - Galos, Mike - Visual Studio 7: A Comprehensive Guide - Computer - 49.95 - 2001-04-16 - Microsoft Visual Studio 7 is explored in depth, - looking at how Visual Basic, Visual C++, C#, and ASP+ are - integrated into a comprehensive development - environment. - - - bk111 - Gambardella, Matthew - XML Developer's Guide - Computer - 44.95 - 2000-10-01 - An in-depth look at creating applications - with XML. - - - bk102 - Ralls, Kim - Midnight Rain - Fantasy - 5.95 - 2000-12-16 - A former architect battles corporate zombies, - an evil sorceress, and her own childhood to become queen - of the world. - - - bk103 - Corets, Eva - Maeve Ascendant - Fantasy - 5.95 - 2000-11-17 - After the collapse of a nanotechnology - society in England, the young survivors lay the - foundation for a new society. - - - bk104 - Corets, Eva - Oberon's Legacy - Fantasy - 5.95 - 2001-03-10 - In post-apocalypse England, the mysterious - agent known only as Oberon helps to create a new life - for the inhabitants of London. Sequel to Maeve - Ascendant. - - - bk105 - Corets, Eva - The Sundered Grail - Fantasy - 5.95 - 2001-09-10 - The two daughters of Maeve, half-sisters, - battle one another for control of England. Sequel to - Oberon's Legacy. - - - bk106 - Randall, Cynthia - Lover Birds - Romance - 4.95 - 2000-09-02 - When Carla meets Paul at an ornithology - conference, tempers fly as feathers get ruffled. - - - bk107 - Thurman, Paula - Splish Splash - Romance - 4.95 - 2000-11-02 - A deep sea diver finds true love twenty - thousand leagues beneath the sea. - - - bk108 - Knorr, Stefan - Creepy Crawlies - Horror - 4.95 - 2000-12-06 - An anthology of horror stories about roaches, - centipedes, scorpions and other insects. - - - bk109 - Kress, Peter - Paradox Lost - Science Fiction - 6.95 - 2000-11-02 - After an inadvertant trip through a Heisenberg - Uncertainty Device, James Salway discovers the problems - of being quantum. - - - bk110 - O'Brien, Tim - Microsoft .NET: The Programming Bible - Computer - 36.95 - 2000-12-09 - Microsoft's .NET initiative is explored in - detail in this deep programmer's reference. - - - bk111 - O'Brien, Tim - MSXML3: A Comprehensive Guide - Computer - 36.95 - 2000-12-01 - The Microsoft MSXML3 parser is covered in - detail, with attention to XML DOM interfaces, XSLT processing, - SAX and more. - - - bk112 - Galos, Mike - Visual Studio 7: A Comprehensive Guide - Computer - 49.95 - 2001-04-16 - Microsoft Visual Studio 7 is explored in depth, - looking at how Visual Basic, Visual C++, C#, and ASP+ are - integrated into a comprehensive development - environment. - - - bk111 - Gambardella, Matthew - XML Developer's Guide - Computer - 44.95 - 2000-10-01 - An in-depth look at creating applications - with XML. - - - bk102 - Ralls, Kim - Midnight Rain - Fantasy - 5.95 - 2000-12-16 - A former architect battles corporate zombies, - an evil sorceress, and her own childhood to become queen - of the world. - - - bk103 - Corets, Eva - Maeve Ascendant - Fantasy - 5.95 - 2000-11-17 - After the collapse of a nanotechnology - society in England, the young survivors lay the - foundation for a new society. - - - bk104 - Corets, Eva - Oberon's Legacy - Fantasy - 5.95 - 2001-03-10 - In post-apocalypse England, the mysterious - agent known only as Oberon helps to create a new life - for the inhabitants of London. Sequel to Maeve - Ascendant. - - - bk105 - Corets, Eva - The Sundered Grail - Fantasy - 5.95 - 2001-09-10 - The two daughters of Maeve, half-sisters, - battle one another for control of England. Sequel to - Oberon's Legacy. - - - bk106 - Randall, Cynthia - Lover Birds - Romance - 4.95 - 2000-09-02 - When Carla meets Paul at an ornithology - conference, tempers fly as feathers get ruffled. - - - bk107 - Thurman, Paula - Splish Splash - Romance - 4.95 - 2000-11-02 - A deep sea diver finds true love twenty - thousand leagues beneath the sea. - - - bk108 - Knorr, Stefan - Creepy Crawlies - Horror - 4.95 - 2000-12-06 - An anthology of horror stories about roaches, - centipedes, scorpions and other insects. - - - bk109 - Kress, Peter - Paradox Lost - Science Fiction - 6.95 - 2000-11-02 - After an inadvertant trip through a Heisenberg - Uncertainty Device, James Salway discovers the problems - of being quantum. - - - bk110 - O'Brien, Tim - Microsoft .NET: The Programming Bible - Computer - 36.95 - 2000-12-09 - Microsoft's .NET initiative is explored in - detail in this deep programmer's reference. - - - bk111 - O'Brien, Tim - MSXML3: A Comprehensive Guide - Computer - 36.95 - 2000-12-01 - The Microsoft MSXML3 parser is covered in - detail, with attention to XML DOM interfaces, XSLT processing, - SAX and more. - - - bk112 - Galos, Mike - Visual Studio 7: A Comprehensive Guide - Computer - 49.95 - 2001-04-16 - Microsoft Visual Studio 7 is explored in depth, - looking at how Visual Basic, Visual C++, C#, and ASP+ are - integrated into a comprehensive development - environment. - - \ No newline at end of file diff --git a/MetroFramework.Demo/Localization/MetroLocalize.cs b/MetroFramework.Demo/Localization/MetroLocalize.cs deleted file mode 100644 index cc892366..00000000 --- a/MetroFramework.Demo/Localization/MetroLocalize.cs +++ /dev/null @@ -1,157 +0,0 @@ -/** - * MetroFramework - Modern UI for WinForms - * - * The MIT License (MIT) - * Copyright (c) 2011 Sven Walter, http://github.com/viperneo - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of - * this software and associated documentation files (the "Software"), to deal in the - * Software without restriction, including without limitation the rights to use, copy, - * modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, - * and to permit persons to whom the Software is furnished to do so, subject to the - * following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, - * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A - * PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF - * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE - * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ -using System.Data; -using System.IO; -using System.Reflection; -using System.Threading; -using System.Windows.Forms; - -namespace MetroFramework.Localization -{ - internal class MetroLocalize - { - private DataSet languageDataset; - - public string DefaultLanguage() - { - return "en"; - } - - public string CurrentLanguage() - { - string language = Thread.CurrentThread.CurrentUICulture.TwoLetterISOLanguageName; - if (language.Length == 0) - { - language = DefaultLanguage(); - } - - return language.ToLower(); - } - - public MetroLocalize(string ctrlName) - { - importManifestResource(ctrlName); - } - - public MetroLocalize(Control ctrl) - { - importManifestResource(ctrl.Name); - } - - private void importManifestResource(string ctrlName) - { - Assembly callingAssembly = Assembly.GetCallingAssembly(); - - string localizationFilename = callingAssembly.GetName().Name + ".Localization." + CurrentLanguage() + "." + ctrlName + ".xml"; - Stream xmlStream = callingAssembly.GetManifestResourceStream(localizationFilename); - - if (xmlStream == null) - { - localizationFilename = callingAssembly.GetName().Name + ".Localization." + DefaultLanguage() + "." + ctrlName + ".xml"; - xmlStream = callingAssembly.GetManifestResourceStream(localizationFilename); - } - - - if (languageDataset == null) - languageDataset = new DataSet(); - - if (xmlStream != null) - { - DataSet importDataset = new DataSet(); - importDataset.ReadXml(xmlStream); - - languageDataset.Merge(importDataset); - xmlStream.Close(); - } - } - - private string convertVar(object var) - { - if (var == null) - return ""; - - return var.ToString(); - } - - public string translate(string key) - { - if ((string.IsNullOrEmpty(key))) { - return ""; - } - - if (languageDataset == null) { - return "~" + key; - } - - if (languageDataset.Tables["Localization"] == null) { - return "~" + key; - } - - DataRow[] languageRows = languageDataset.Tables["Localization"].Select("Key='" + key + "'"); - if (languageRows.Length <= 0) - { - return "~" + key; - } - - return languageRows[0]["Value"].ToString(); - } - - public string translate(string key, object var1) - { - string str = translate(key); - return str.Replace("#1", convertVar(var1)); - } - - public string translate(string key, object var1, object var2) - { - string str = translate(key); - str = str.Replace("#1", convertVar(var1)); - return str.Replace("#2", convertVar(var2)); - } - public string getValue(string key, object var1, object var2, object var3) - { - string str = translate(key); - str = str.Replace("#1", convertVar(var1)); - str = str.Replace("#2", convertVar(var2)); - return str.Replace("#3", convertVar(var3)); - } - public string getValue(string key, object var1, object var2, object var3, object var4) - { - string str = translate(key); - str = str.Replace("#1", convertVar(var1)); - str = str.Replace("#2", convertVar(var2)); - str = str.Replace("#3", convertVar(var3)); - return str.Replace("#4", convertVar(var4)); - } - public string getValue(string key, object var1, object var2, object var3, object var4, object var5) - { - string str = translate(key); - str = str.Replace("#1", convertVar(var1)); - str = str.Replace("#2", convertVar(var2)); - str = str.Replace("#3", convertVar(var3)); - str = str.Replace("#4", convertVar(var4)); - return str.Replace("#5", convertVar(var5)); - } - } -} diff --git a/MetroFramework.Demo/Localization/de/MetroMessageBoxControl.xml b/MetroFramework.Demo/Localization/de/MetroMessageBoxControl.xml deleted file mode 100644 index bc8838b2..00000000 --- a/MetroFramework.Demo/Localization/de/MetroMessageBoxControl.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - Ok - &Ok - - - Cancel - &Stornieren - - - Retry - &Wiederholen - - - Yes - &Ja - - - No - &Nein - - - Abort - &Abbrechen - - - Ignore - &Ignorieren - - \ No newline at end of file diff --git a/MetroFramework.Demo/Localization/de/MetroToggle.xml b/MetroFramework.Demo/Localization/de/MetroToggle.xml deleted file mode 100644 index 42f8d224..00000000 --- a/MetroFramework.Demo/Localization/de/MetroToggle.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - StatusOn - An - - - StatusOff - Aus - - \ No newline at end of file diff --git a/MetroFramework.Demo/Localization/en/MetroToggle.xml b/MetroFramework.Demo/Localization/en/MetroToggle.xml deleted file mode 100644 index 912faf63..00000000 --- a/MetroFramework.Demo/Localization/en/MetroToggle.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - StatusOn - On - - - StatusOff - Off - - \ No newline at end of file diff --git a/MetroFramework.Demo/Localization/tr/MetroToggle.xml b/MetroFramework.Demo/Localization/tr/MetroToggle.xml deleted file mode 100644 index 25c0535e..00000000 --- a/MetroFramework.Demo/Localization/tr/MetroToggle.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - StatusOn - Açık - - - StatusOff - Kapalı - - diff --git a/MetroFramework.Demo/MainForm.Designer.cs b/MetroFramework.Demo/MainForm.Designer.cs deleted file mode 100644 index 9ff38ac0..00000000 --- a/MetroFramework.Demo/MainForm.Designer.cs +++ /dev/null @@ -1,1622 +0,0 @@ - -using System.Windows.Forms; - -namespace MetroFramework.Demo -{ - partial class MainForm - { - /// - /// Erforderliche Designervariable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Verwendete Ressourcen bereinigen. - /// - /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Vom Windows Form-Designer generierter Code - - /// - /// Erforderliche Methode für die Designerunterstützung. - /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - this.metroTabControl1 = new MetroFramework.Controls.MetroTabControl(); - this.metroTabPage1 = new MetroFramework.Controls.MetroTabPage(); - this.metroDropDownButton1 = new MetroFramework.Controls.MetroDropDownButton(); - this.metroContextMenu1 = new MetroFramework.Controls.MetroContextMenu(this.components); - this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.maintenanceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); - this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.metroRadioButton4 = new MetroFramework.Controls.MetroRadioButton(); - this.metroRadioButton5 = new MetroFramework.Controls.MetroRadioButton(); - this.metroCheckBox4 = new MetroFramework.Controls.MetroCheckBox(); - this.metroCheckBox5 = new MetroFramework.Controls.MetroCheckBox(); - this.metroLabel21 = new MetroFramework.Controls.MetroLabel(); - this.metroLabel22 = new MetroFramework.Controls.MetroLabel(); - this.metroRadioButton6 = new MetroFramework.Controls.MetroRadioButton(); - this.metroCheckBox6 = new MetroFramework.Controls.MetroCheckBox(); - this.metroLink4 = new MetroFramework.Controls.MetroLink(); - this.metroLink3 = new MetroFramework.Controls.MetroLink(); - this.metroLabel9 = new MetroFramework.Controls.MetroLabel(); - this.metroLabel8 = new MetroFramework.Controls.MetroLabel(); - this.metroLink1 = new MetroFramework.Controls.MetroLink(); - this.metroLabel1 = new MetroFramework.Controls.MetroLabel(); - this.metroButton3 = new MetroFramework.Controls.MetroButton(); - this.metroButton2 = new MetroFramework.Controls.MetroButton(); - this.metroButton1 = new MetroFramework.Controls.MetroButton(); - this.metroTileSwitch = new MetroFramework.Controls.MetroTile(); - this.metroTile2 = new MetroFramework.Controls.MetroTile(); - this.metroTile1 = new MetroFramework.Controls.MetroTile(); - this.metroTabPage2 = new MetroFramework.Controls.MetroTabPage(); - this.metroComboBox4 = new MetroFramework.Controls.MetroComboBox(); - this.metroComboBox3 = new MetroFramework.Controls.MetroComboBox(); - this.metroDateTime2 = new MetroFramework.Controls.MetroDateTime(); - this.metroLabel20 = new MetroFramework.Controls.MetroLabel(); - this.metroDateTime1 = new MetroFramework.Controls.MetroDateTime(); - this.metroButton5 = new MetroFramework.Controls.MetroButton(); - this.metroToggle3 = new MetroFramework.Controls.MetroToggle(); - this.metroToggle2 = new MetroFramework.Controls.MetroToggle(); - this.metroRadioButton3 = new MetroFramework.Controls.MetroRadioButton(); - this.metroRadioButton2 = new MetroFramework.Controls.MetroRadioButton(); - this.metroCheckBox3 = new MetroFramework.Controls.MetroCheckBox(); - this.metroCheckBox2 = new MetroFramework.Controls.MetroCheckBox(); - this.metroLabel19 = new MetroFramework.Controls.MetroLabel(); - this.metroLabel18 = new MetroFramework.Controls.MetroLabel(); - this.metroLabel17 = new MetroFramework.Controls.MetroLabel(); - this.metroLabel16 = new MetroFramework.Controls.MetroLabel(); - this.metroComboBox1 = new MetroFramework.Controls.MetroComboBox(); - this.metroRadioButton1 = new MetroFramework.Controls.MetroRadioButton(); - this.metroToggle1 = new MetroFramework.Controls.MetroToggle(); - this.metroCheckBox1 = new MetroFramework.Controls.MetroCheckBox(); - this.metroTabPage3 = new MetroFramework.Controls.MetroTabPage(); - this.metroLabel7 = new MetroFramework.Controls.MetroLabel(); - this.metroProgressSpinner3 = new MetroFramework.Controls.MetroProgressSpinner(); - this.metroProgressSpinner2 = new MetroFramework.Controls.MetroProgressSpinner(); - this.metroLabel6 = new MetroFramework.Controls.MetroLabel(); - this.metroLabel5 = new MetroFramework.Controls.MetroLabel(); - this.metroProgressBar1 = new MetroFramework.Controls.MetroProgressBar(); - this.metroLabel4 = new MetroFramework.Controls.MetroLabel(); - this.metroScrollBar1 = new MetroFramework.Controls.MetroScrollBar(); - this.metroTrackBar1 = new MetroFramework.Controls.MetroTrackBar(); - this.metroProgressSpinner1 = new MetroFramework.Controls.MetroProgressSpinner(); - this.metroProgressBar = new MetroFramework.Controls.MetroProgressBar(); - this.metroTabPage4 = new MetroFramework.Controls.MetroTabPage(); - this.metroTextBox4 = new MetroFramework.Controls.MetroTextBox(); - this.metroTextBox3 = new MetroFramework.Controls.MetroTextBox(); - this.metroTextBox2 = new MetroFramework.Controls.MetroTextBox(); - this.metroLabel15 = new MetroFramework.Controls.MetroLabel(); - this.metroLabel12 = new MetroFramework.Controls.MetroLabel(); - this.metroLabel13 = new MetroFramework.Controls.MetroLabel(); - this.metroLabel14 = new MetroFramework.Controls.MetroLabel(); - this.metroLabel11 = new MetroFramework.Controls.MetroLabel(); - this.metroLabel10 = new MetroFramework.Controls.MetroLabel(); - this.metroLabel3 = new MetroFramework.Controls.MetroLabel(); - this.metroTextBox1 = new MetroFramework.Controls.MetroTextBox(); - this.metroLabel2 = new MetroFramework.Controls.MetroLabel(); - this.metroTabPage6 = new MetroFramework.Controls.MetroTabPage(); - this.metroButton12 = new MetroFramework.Controls.MetroButton(); - this.metroButton11 = new MetroFramework.Controls.MetroButton(); - this.metroButton10 = new MetroFramework.Controls.MetroButton(); - this.metroButton9 = new MetroFramework.Controls.MetroButton(); - this.metroButton8 = new MetroFramework.Controls.MetroButton(); - this.metroButton7 = new MetroFramework.Controls.MetroButton(); - this.metroButton6 = new MetroFramework.Controls.MetroButton(); - this.metroTabPage7 = new MetroFramework.Controls.MetroTabPage(); - this.metroGrid1 = new MetroFramework.Controls.MetroGrid(); - this.metroTabPage5 = new MetroFramework.Controls.MetroTabPage(); - this.metroTile5 = new MetroFramework.Controls.MetroTile(); - this.metroTile4 = new MetroFramework.Controls.MetroTile(); - this.metroTile3 = new MetroFramework.Controls.MetroTile(); - this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); - this.richTextBox1 = new System.Windows.Forms.RichTextBox(); - this.label2 = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.metroStyleManager = new MetroFramework.Components.MetroStyleManager(this.components); - this.metroToolTip = new MetroFramework.Components.MetroToolTip(); - this.metroStyleExtender = new MetroFramework.Components.MetroStyleExtender(this.components); - this.metroTabControl1.SuspendLayout(); - this.metroTabPage1.SuspendLayout(); - this.metroContextMenu1.SuspendLayout(); - this.metroTabPage2.SuspendLayout(); - this.metroTabPage3.SuspendLayout(); - this.metroTabPage4.SuspendLayout(); - this.metroTabPage6.SuspendLayout(); - this.metroTabPage7.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.metroGrid1)).BeginInit(); - this.metroTabPage5.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.metroStyleManager)).BeginInit(); - this.SuspendLayout(); - // - // metroTabControl1 - // - this.metroTabControl1.Controls.Add(this.metroTabPage1); - this.metroTabControl1.Controls.Add(this.metroTabPage2); - this.metroTabControl1.Controls.Add(this.metroTabPage3); - this.metroTabControl1.Controls.Add(this.metroTabPage4); - this.metroTabControl1.Controls.Add(this.metroTabPage6); - this.metroTabControl1.Controls.Add(this.metroTabPage7); - this.metroTabControl1.Controls.Add(this.metroTabPage5); - this.metroTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; - this.metroTabControl1.Location = new System.Drawing.Point(27, 74); - this.metroTabControl1.Margin = new System.Windows.Forms.Padding(4); - this.metroTabControl1.Name = "metroTabControl1"; - this.metroTabControl1.SelectedIndex = 1; - this.metroTabControl1.Size = new System.Drawing.Size(906, 371); - this.metroTabControl1.TabIndex = 0; - this.metroTabControl1.UseSelectable = true; - // - // metroTabPage1 - // - this.metroTabPage1.AutoScroll = true; - this.metroTabPage1.Controls.Add(this.metroDropDownButton1); - this.metroTabPage1.Controls.Add(this.metroRadioButton4); - this.metroTabPage1.Controls.Add(this.metroRadioButton5); - this.metroTabPage1.Controls.Add(this.metroCheckBox4); - this.metroTabPage1.Controls.Add(this.metroCheckBox5); - this.metroTabPage1.Controls.Add(this.metroLabel21); - this.metroTabPage1.Controls.Add(this.metroLabel22); - this.metroTabPage1.Controls.Add(this.metroRadioButton6); - this.metroTabPage1.Controls.Add(this.metroCheckBox6); - this.metroTabPage1.Controls.Add(this.metroLink4); - this.metroTabPage1.Controls.Add(this.metroLink3); - this.metroTabPage1.Controls.Add(this.metroLabel9); - this.metroTabPage1.Controls.Add(this.metroLabel8); - this.metroTabPage1.Controls.Add(this.metroLink1); - this.metroTabPage1.Controls.Add(this.metroLabel1); - this.metroTabPage1.Controls.Add(this.metroButton3); - this.metroTabPage1.Controls.Add(this.metroButton2); - this.metroTabPage1.Controls.Add(this.metroButton1); - this.metroTabPage1.Controls.Add(this.metroTileSwitch); - this.metroTabPage1.Controls.Add(this.metroTile2); - this.metroTabPage1.Controls.Add(this.metroTile1); - this.metroTabPage1.HorizontalScrollbar = true; - this.metroTabPage1.HorizontalScrollbarBarColor = true; - this.metroTabPage1.HorizontalScrollbarHighlightOnWheel = false; - this.metroTabPage1.HorizontalScrollbarSize = 12; - this.metroTabPage1.Location = new System.Drawing.Point(4, 38); - this.metroTabPage1.Margin = new System.Windows.Forms.Padding(4); - this.metroTabPage1.Name = "metroTabPage1"; - this.metroTabPage1.Padding = new System.Windows.Forms.Padding(33, 31, 33, 31); - this.metroTabPage1.Size = new System.Drawing.Size(898, 329); - this.metroTabPage1.TabIndex = 0; - this.metroTabPage1.Text = "Tiles && Buttons"; - this.metroTabPage1.VerticalScrollbar = true; - this.metroTabPage1.VerticalScrollbarBarColor = true; - this.metroTabPage1.VerticalScrollbarHighlightOnWheel = false; - this.metroTabPage1.VerticalScrollbarSize = 13; - // - // metroDropDownButton1 - // - this.metroDropDownButton1.AutoSize = true; - this.metroDropDownButton1.ContextMenuStrip = this.metroContextMenu1; - this.metroDropDownButton1.Image = global::MetroFramework.Demo.Properties.Resources.AttachOrDetach_7014; - this.metroDropDownButton1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.metroDropDownButton1.Location = new System.Drawing.Point(279, 217); - this.metroDropDownButton1.Name = "metroDropDownButton1"; - this.metroDropDownButton1.Size = new System.Drawing.Size(169, 45); - this.metroDropDownButton1.SplitMenuStrip = this.metroContextMenu1; - this.metroDropDownButton1.TabIndex = 24; - this.metroDropDownButton1.Text = "DropDownButton"; - this.metroDropDownButton1.UseSelectable = true; - // - // metroContextMenu1 - // - this.metroContextMenu1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.metroContextMenu1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.metroContextMenu1.ImageScalingSize = new System.Drawing.Size(20, 20); - this.metroContextMenu1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.fileToolStripMenuItem, - this.maintenanceToolStripMenuItem, - this.toolsToolStripMenuItem, - this.settingsToolStripMenuItem, - this.toolStripMenuItem1, - this.exitToolStripMenuItem}); - this.metroContextMenu1.Name = "metroContextMenu1"; - this.metroContextMenu1.Size = new System.Drawing.Size(164, 130); - // - // fileToolStripMenuItem - // - this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; - this.fileToolStripMenuItem.Size = new System.Drawing.Size(163, 24); - this.fileToolStripMenuItem.Text = "&File"; - // - // maintenanceToolStripMenuItem - // - this.maintenanceToolStripMenuItem.Name = "maintenanceToolStripMenuItem"; - this.maintenanceToolStripMenuItem.Size = new System.Drawing.Size(163, 24); - this.maintenanceToolStripMenuItem.Text = "&Maintenance"; - // - // toolsToolStripMenuItem - // - this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; - this.toolsToolStripMenuItem.Size = new System.Drawing.Size(163, 24); - this.toolsToolStripMenuItem.Text = "&Tools"; - // - // settingsToolStripMenuItem - // - this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; - this.settingsToolStripMenuItem.Size = new System.Drawing.Size(163, 24); - this.settingsToolStripMenuItem.Text = "&Settings"; - // - // toolStripMenuItem1 - // - this.toolStripMenuItem1.Name = "toolStripMenuItem1"; - this.toolStripMenuItem1.Size = new System.Drawing.Size(160, 6); - // - // exitToolStripMenuItem - // - this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; - this.exitToolStripMenuItem.Size = new System.Drawing.Size(163, 24); - this.exitToolStripMenuItem.Text = "E&xit"; - // - // metroRadioButton4 - // - this.metroRadioButton4.AutoSize = true; - this.metroRadioButton4.Enabled = false; - this.metroRadioButton4.Location = new System.Drawing.Point(661, 252); - this.metroRadioButton4.Margin = new System.Windows.Forms.Padding(4); - this.metroRadioButton4.Name = "metroRadioButton4"; - this.metroRadioButton4.Size = new System.Drawing.Size(151, 17); - this.metroRadioButton4.TabIndex = 23; - this.metroRadioButton4.TabStop = true; - this.metroRadioButton4.Text = "Disabled Radiobutton"; - this.metroRadioButton4.UseSelectable = true; - // - // metroRadioButton5 - // - this.metroRadioButton5.AutoSize = true; - this.metroRadioButton5.Location = new System.Drawing.Point(661, 226); - this.metroRadioButton5.Margin = new System.Windows.Forms.Padding(4); - this.metroRadioButton5.Name = "metroRadioButton5"; - this.metroRadioButton5.Size = new System.Drawing.Size(135, 17); - this.metroRadioButton5.TabIndex = 22; - this.metroRadioButton5.TabStop = true; - this.metroRadioButton5.Text = "Styled Radiobutton"; - this.metroRadioButton5.UseSelectable = true; - this.metroRadioButton5.UseStyleColors = true; - // - // metroCheckBox4 - // - this.metroCheckBox4.AutoSize = true; - this.metroCheckBox4.Enabled = false; - this.metroCheckBox4.Location = new System.Drawing.Point(661, 121); - this.metroCheckBox4.Margin = new System.Windows.Forms.Padding(4); - this.metroCheckBox4.Name = "metroCheckBox4"; - this.metroCheckBox4.Size = new System.Drawing.Size(135, 17); - this.metroCheckBox4.TabIndex = 21; - this.metroCheckBox4.Text = "Disabled Checkbox"; - this.metroCheckBox4.UseSelectable = true; - // - // metroCheckBox5 - // - this.metroCheckBox5.AutoSize = true; - this.metroCheckBox5.Location = new System.Drawing.Point(661, 95); - this.metroCheckBox5.Margin = new System.Windows.Forms.Padding(4); - this.metroCheckBox5.Name = "metroCheckBox5"; - this.metroCheckBox5.Size = new System.Drawing.Size(119, 17); - this.metroCheckBox5.TabIndex = 20; - this.metroCheckBox5.Text = "Styled Checkbox"; - this.metroCheckBox5.UseSelectable = true; - this.metroCheckBox5.UseStyleColors = true; - // - // metroLabel21 - // - this.metroLabel21.AutoSize = true; - this.metroLabel21.Location = new System.Drawing.Point(661, 167); - this.metroLabel21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.metroLabel21.Name = "metroLabel21"; - this.metroLabel21.Size = new System.Drawing.Size(120, 20); - this.metroLabel21.TabIndex = 19; - this.metroLabel21.Text = "MetroRadioButton"; - // - // metroLabel22 - // - this.metroLabel22.AutoSize = true; - this.metroLabel22.Location = new System.Drawing.Point(661, 34); - this.metroLabel22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.metroLabel22.Name = "metroLabel22"; - this.metroLabel22.Size = new System.Drawing.Size(107, 20); - this.metroLabel22.TabIndex = 18; - this.metroLabel22.Text = "MetroCheckBox"; - // - // metroRadioButton6 - // - this.metroRadioButton6.AutoSize = true; - this.metroRadioButton6.Location = new System.Drawing.Point(661, 201); - this.metroRadioButton6.Margin = new System.Windows.Forms.Padding(4); - this.metroRadioButton6.Name = "metroRadioButton6"; - this.metroRadioButton6.Size = new System.Drawing.Size(144, 17); - this.metroRadioButton6.TabIndex = 17; - this.metroRadioButton6.TabStop = true; - this.metroRadioButton6.Text = "Normal Radiobutton"; - this.metroToolTip.SetToolTip(this.metroRadioButton6, "RadioButton Tooltip"); - this.metroRadioButton6.UseSelectable = true; - // - // metroCheckBox6 - // - this.metroCheckBox6.AutoSize = true; - this.metroCheckBox6.Location = new System.Drawing.Point(661, 69); - this.metroCheckBox6.Margin = new System.Windows.Forms.Padding(4); - this.metroCheckBox6.Name = "metroCheckBox6"; - this.metroCheckBox6.Size = new System.Drawing.Size(128, 17); - this.metroCheckBox6.TabIndex = 16; - this.metroCheckBox6.Text = "Normal Checkbox"; - this.metroToolTip.SetToolTip(this.metroCheckBox6, "Checkbox Tooltip"); - this.metroCheckBox6.UseSelectable = true; - // - // metroLink4 - // - this.metroLink4.Enabled = false; - this.metroLink4.Location = new System.Drawing.Point(491, 156); - this.metroLink4.Margin = new System.Windows.Forms.Padding(4); - this.metroLink4.Name = "metroLink4"; - this.metroLink4.Size = new System.Drawing.Size(127, 28); - this.metroLink4.TabIndex = 15; - this.metroLink4.Text = "Disabled Link"; - this.metroLink4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.metroLink4.UseSelectable = true; - // - // metroLink3 - // - this.metroLink3.Location = new System.Drawing.Point(491, 121); - this.metroLink3.Margin = new System.Windows.Forms.Padding(4); - this.metroLink3.Name = "metroLink3"; - this.metroLink3.Size = new System.Drawing.Size(127, 28); - this.metroLink3.TabIndex = 14; - this.metroLink3.Text = "Styled Link"; - this.metroLink3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.metroLink3.UseSelectable = true; - this.metroLink3.UseStyleColors = true; - // - // metroLabel9 - // - this.metroLabel9.AutoSize = true; - this.metroLabel9.Location = new System.Drawing.Point(491, 58); - this.metroLabel9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.metroLabel9.Name = "metroLabel9"; - this.metroLabel9.Size = new System.Drawing.Size(71, 20); - this.metroLabel9.TabIndex = 12; - this.metroLabel9.Text = "MetroLink"; - // - // metroLabel8 - // - this.metroLabel8.AutoSize = true; - this.metroLabel8.Location = new System.Drawing.Point(279, 31); - this.metroLabel8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.metroLabel8.Name = "metroLabel8"; - this.metroLabel8.Size = new System.Drawing.Size(86, 20); - this.metroLabel8.TabIndex = 11; - this.metroLabel8.Text = "MetroButton"; - // - // metroLink1 - // - this.metroLink1.Location = new System.Drawing.Point(491, 85); - this.metroLink1.Margin = new System.Windows.Forms.Padding(4); - this.metroLink1.Name = "metroLink1"; - this.metroLink1.Size = new System.Drawing.Size(127, 28); - this.metroLink1.TabIndex = 10; - this.metroLink1.Text = "Normal Link"; - this.metroLink1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.metroToolTip.SetToolTip(this.metroLink1, "Link Tooltip"); - this.metroLink1.UseSelectable = true; - // - // metroLabel1 - // - this.metroLabel1.AutoSize = true; - this.metroLabel1.Location = new System.Drawing.Point(37, 31); - this.metroLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.metroLabel1.Name = "metroLabel1"; - this.metroLabel1.Size = new System.Drawing.Size(68, 20); - this.metroLabel1.TabIndex = 8; - this.metroLabel1.Text = "MetroTile"; - // - // metroButton3 - // - this.metroButton3.Enabled = false; - this.metroButton3.Location = new System.Drawing.Point(279, 164); - this.metroButton3.Margin = new System.Windows.Forms.Padding(4); - this.metroButton3.Name = "metroButton3"; - this.metroButton3.Size = new System.Drawing.Size(169, 46); - this.metroButton3.TabIndex = 7; - this.metroButton3.Text = "Disabled Button"; - this.metroButton3.UseSelectable = true; - // - // metroButton2 - // - this.metroButton2.Highlight = true; - this.metroButton2.Location = new System.Drawing.Point(279, 111); - this.metroButton2.Margin = new System.Windows.Forms.Padding(4); - this.metroButton2.Name = "metroButton2"; - this.metroButton2.Size = new System.Drawing.Size(169, 46); - this.metroButton2.TabIndex = 6; - this.metroButton2.Text = "Highlighted Button"; - this.metroButton2.UseSelectable = true; - this.metroButton2.Click += new System.EventHandler(this.metroButton2_Click); - // - // metroButton1 - // - this.metroButton1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.metroButton1.Location = new System.Drawing.Point(279, 58); - this.metroButton1.Margin = new System.Windows.Forms.Padding(4); - this.metroButton1.Name = "metroButton1"; - this.metroButton1.Size = new System.Drawing.Size(169, 46); - this.metroButton1.TabIndex = 5; - this.metroButton1.Text = "Normal Button"; - this.metroToolTip.SetToolTip(this.metroButton1, "Button Tooltip"); - this.metroButton1.UseSelectable = true; - this.metroButton1.Click += new System.EventHandler(this.metroButton1_Click); - // - // metroTileSwitch - // - this.metroTileSwitch.ActiveControl = null; - this.metroTileSwitch.Location = new System.Drawing.Point(37, 164); - this.metroTileSwitch.Margin = new System.Windows.Forms.Padding(4); - this.metroTileSwitch.Name = "metroTileSwitch"; - this.metroTileSwitch.Size = new System.Drawing.Size(221, 98); - this.metroTileSwitch.TabIndex = 4; - this.metroTileSwitch.Text = "Switch Style"; - this.metroTileSwitch.UseSelectable = true; - this.metroTileSwitch.Click += new System.EventHandler(this.metroTileSwitch_Click); - // - // metroTile2 - // - this.metroTile2.ActiveControl = null; - this.metroTile2.Enabled = false; - this.metroTile2.Location = new System.Drawing.Point(152, 58); - this.metroTile2.Margin = new System.Windows.Forms.Padding(4); - this.metroTile2.Name = "metroTile2"; - this.metroTile2.Size = new System.Drawing.Size(107, 98); - this.metroTile2.TabIndex = 3; - this.metroTile2.Text = "Disabled"; - this.metroTile2.UseSelectable = true; - // - // metroTile1 - // - this.metroTile1.ActiveControl = null; - this.metroTile1.Location = new System.Drawing.Point(37, 58); - this.metroTile1.Margin = new System.Windows.Forms.Padding(4); - this.metroTile1.Name = "metroTile1"; - this.metroTile1.Size = new System.Drawing.Size(107, 98); - this.metroTile1.TabIndex = 2; - this.metroTile1.Text = "Switch Theme"; - this.metroToolTip.SetToolTip(this.metroTile1, "Tile Tooltip"); - this.metroTile1.UseSelectable = true; - this.metroTile1.Click += new System.EventHandler(this.metroTile1_Click); - // - // metroTabPage2 - // - this.metroTabPage2.Controls.Add(this.metroComboBox4); - this.metroTabPage2.Controls.Add(this.metroComboBox3); - this.metroTabPage2.Controls.Add(this.metroDateTime2); - this.metroTabPage2.Controls.Add(this.metroLabel20); - this.metroTabPage2.Controls.Add(this.metroDateTime1); - this.metroTabPage2.Controls.Add(this.metroButton5); - this.metroTabPage2.Controls.Add(this.metroToggle3); - this.metroTabPage2.Controls.Add(this.metroToggle2); - this.metroTabPage2.Controls.Add(this.metroRadioButton3); - this.metroTabPage2.Controls.Add(this.metroRadioButton2); - this.metroTabPage2.Controls.Add(this.metroCheckBox3); - this.metroTabPage2.Controls.Add(this.metroCheckBox2); - this.metroTabPage2.Controls.Add(this.metroLabel19); - this.metroTabPage2.Controls.Add(this.metroLabel18); - this.metroTabPage2.Controls.Add(this.metroLabel17); - this.metroTabPage2.Controls.Add(this.metroLabel16); - this.metroTabPage2.Controls.Add(this.metroComboBox1); - this.metroTabPage2.Controls.Add(this.metroRadioButton1); - this.metroTabPage2.Controls.Add(this.metroToggle1); - this.metroTabPage2.Controls.Add(this.metroCheckBox1); - this.metroTabPage2.HorizontalScrollbarBarColor = true; - this.metroTabPage2.HorizontalScrollbarHighlightOnWheel = false; - this.metroTabPage2.HorizontalScrollbarSize = 12; - this.metroTabPage2.Location = new System.Drawing.Point(4, 38); - this.metroTabPage2.Margin = new System.Windows.Forms.Padding(4); - this.metroTabPage2.Name = "metroTabPage2"; - this.metroTabPage2.Padding = new System.Windows.Forms.Padding(33, 31, 33, 31); - this.metroTabPage2.Size = new System.Drawing.Size(898, 329); - this.metroTabPage2.TabIndex = 1; - this.metroTabPage2.Text = "Options"; - this.metroTabPage2.VerticalScrollbarBarColor = true; - this.metroTabPage2.VerticalScrollbarHighlightOnWheel = false; - this.metroTabPage2.VerticalScrollbarSize = 13; - this.metroTabPage2.Visible = false; - // - // metroComboBox4 - // - this.metroComboBox4.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; - this.metroComboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDown; - this.metroComboBox4.FormattingEnabled = true; - this.metroComboBox4.ItemHeight = 24; - this.metroComboBox4.Location = new System.Drawing.Point(268, 279); - this.metroComboBox4.Margin = new System.Windows.Forms.Padding(4); - this.metroComboBox4.Name = "metroComboBox4"; - this.metroComboBox4.PromptText = "DataBound ComboBox"; - this.metroComboBox4.Size = new System.Drawing.Size(283, 30); - this.metroComboBox4.TabIndex = 23; - this.metroToolTip.SetToolTip(this.metroComboBox4, "ComboBox Tooltip"); - this.metroComboBox4.UseSelectable = true; - // - // metroComboBox3 - // - this.metroComboBox3.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; - this.metroComboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDown; - this.metroComboBox3.Cursor = Cursors.Hand; - this.metroComboBox3.FormattingEnabled = true; - this.metroComboBox3.ItemHeight = 24; - this.metroComboBox3.Items.AddRange(new object[] { - "Normal Combobox 1", - "Normal Combobox 2", - "Normal Combobox 3", - "Normal Combobox 4"}); - this.metroComboBox3.Location = new System.Drawing.Point(268, 241); - this.metroComboBox3.Margin = new System.Windows.Forms.Padding(4); - this.metroComboBox3.Name = "metroComboBox3"; - this.metroComboBox3.PromptText = "Prompted ComboBox"; - this.metroComboBox3.Size = new System.Drawing.Size(283, 30); - this.metroComboBox3.TabIndex = 21; - this.metroToolTip.SetToolTip(this.metroComboBox3, "ComboBox Tooltip"); - this.metroComboBox3.UseSelectable = true; - // - // metroDateTime2 - // - this.metroDateTime2.Enabled = false; - this.metroDateTime2.Location = new System.Drawing.Point(268, 107); - this.metroDateTime2.Margin = new System.Windows.Forms.Padding(4); - this.metroDateTime2.MinimumSize = new System.Drawing.Size(0, 30); - this.metroDateTime2.Name = "metroDateTime2"; - this.metroDateTime2.Size = new System.Drawing.Size(283, 30); - this.metroDateTime2.TabIndex = 20; - // - // metroLabel20 - // - this.metroLabel20.AutoSize = true; - this.metroLabel20.Location = new System.Drawing.Point(268, 31); - this.metroLabel20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.metroLabel20.Name = "metroLabel20"; - this.metroLabel20.Size = new System.Drawing.Size(106, 20); - this.metroLabel20.TabIndex = 19; - this.metroLabel20.Text = "MetroDateTime"; - // - // metroDateTime1 - // - this.metroDateTime1.Location = new System.Drawing.Point(268, 63); - this.metroDateTime1.Margin = new System.Windows.Forms.Padding(4); - this.metroDateTime1.MinimumSize = new System.Drawing.Size(0, 30); - this.metroDateTime1.Name = "metroDateTime1"; - this.metroDateTime1.Size = new System.Drawing.Size(283, 30); - this.metroDateTime1.TabIndex = 18; - // - // metroButton5 - // - this.metroButton5.Location = new System.Drawing.Point(604, 63); - this.metroButton5.Margin = new System.Windows.Forms.Padding(4); - this.metroButton5.Name = "metroButton5"; - this.metroButton5.Size = new System.Drawing.Size(164, 36); - this.metroButton5.TabIndex = 17; - this.metroButton5.Text = "&Show Context Menu"; - this.metroButton5.UseSelectable = true; - this.metroButton5.Click += new System.EventHandler(this.metroButton5_Click); - // - // metroToggle3 - // - this.metroToggle3.AutoSize = true; - this.metroToggle3.DisplayStatus = false; - this.metroToggle3.Enabled = false; - this.metroToggle3.Location = new System.Drawing.Point(644, 261); - this.metroToggle3.Margin = new System.Windows.Forms.Padding(4); - this.metroToggle3.Name = "metroToggle3"; - this.metroToggle3.Size = new System.Drawing.Size(50, 21); - this.metroToggle3.TabIndex = 15; - this.metroToggle3.Text = "Off"; - this.metroToggle3.UseSelectable = true; - // - // metroToggle2 - // - this.metroToggle2.AutoSize = true; - this.metroToggle2.DisplayStatus = false; - this.metroToggle2.Location = new System.Drawing.Point(644, 233); - this.metroToggle2.Margin = new System.Windows.Forms.Padding(4); - this.metroToggle2.Name = "metroToggle2"; - this.metroToggle2.Size = new System.Drawing.Size(50, 21); - this.metroToggle2.TabIndex = 14; - this.metroToggle2.Text = "Off"; - this.metroToggle2.UseSelectable = true; - this.metroToggle2.UseStyleColors = true; - // - // metroRadioButton3 - // - this.metroRadioButton3.AutoSize = true; - this.metroRadioButton3.Enabled = false; - this.metroRadioButton3.Location = new System.Drawing.Point(24, 249); - this.metroRadioButton3.Margin = new System.Windows.Forms.Padding(4); - this.metroRadioButton3.Name = "metroRadioButton3"; - this.metroRadioButton3.Size = new System.Drawing.Size(151, 17); - this.metroRadioButton3.TabIndex = 13; - this.metroRadioButton3.TabStop = true; - this.metroRadioButton3.Text = "Disabled Radiobutton"; - this.metroRadioButton3.UseSelectable = true; - // - // metroRadioButton2 - // - this.metroRadioButton2.AutoSize = true; - this.metroRadioButton2.Location = new System.Drawing.Point(24, 223); - this.metroRadioButton2.Margin = new System.Windows.Forms.Padding(4); - this.metroRadioButton2.Name = "metroRadioButton2"; - this.metroRadioButton2.Size = new System.Drawing.Size(135, 17); - this.metroRadioButton2.TabIndex = 12; - this.metroRadioButton2.TabStop = true; - this.metroRadioButton2.Text = "Styled Radiobutton"; - this.metroRadioButton2.UseSelectable = true; - this.metroRadioButton2.UseStyleColors = true; - // - // metroCheckBox3 - // - this.metroCheckBox3.AutoSize = true; - this.metroCheckBox3.Enabled = false; - this.metroCheckBox3.Location = new System.Drawing.Point(24, 117); - this.metroCheckBox3.Margin = new System.Windows.Forms.Padding(4); - this.metroCheckBox3.Name = "metroCheckBox3"; - this.metroCheckBox3.Size = new System.Drawing.Size(135, 17); - this.metroCheckBox3.TabIndex = 11; - this.metroCheckBox3.Text = "Disabled Checkbox"; - this.metroCheckBox3.UseSelectable = true; - // - // metroCheckBox2 - // - this.metroCheckBox2.AutoSize = true; - this.metroCheckBox2.Location = new System.Drawing.Point(24, 91); - this.metroCheckBox2.Margin = new System.Windows.Forms.Padding(4); - this.metroCheckBox2.Name = "metroCheckBox2"; - this.metroCheckBox2.Size = new System.Drawing.Size(119, 17); - this.metroCheckBox2.TabIndex = 10; - this.metroCheckBox2.Text = "Styled Checkbox"; - this.metroCheckBox2.UseSelectable = true; - this.metroCheckBox2.UseStyleColors = true; - // - // metroLabel19 - // - this.metroLabel19.AutoSize = true; - this.metroLabel19.Location = new System.Drawing.Point(604, 171); - this.metroLabel19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.metroLabel19.Name = "metroLabel19"; - this.metroLabel19.Size = new System.Drawing.Size(87, 20); - this.metroLabel19.TabIndex = 9; - this.metroLabel19.Text = "MetroToggle"; - // - // metroLabel18 - // - this.metroLabel18.AutoSize = true; - this.metroLabel18.Location = new System.Drawing.Point(24, 164); - this.metroLabel18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.metroLabel18.Name = "metroLabel18"; - this.metroLabel18.Size = new System.Drawing.Size(120, 20); - this.metroLabel18.TabIndex = 8; - this.metroLabel18.Text = "MetroRadioButton"; - // - // metroLabel17 - // - this.metroLabel17.AutoSize = true; - this.metroLabel17.Location = new System.Drawing.Point(268, 176); - this.metroLabel17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.metroLabel17.Name = "metroLabel17"; - this.metroLabel17.Size = new System.Drawing.Size(113, 20); - this.metroLabel17.TabIndex = 7; - this.metroLabel17.Text = "MetroComboBox"; - // - // metroLabel16 - // - this.metroLabel16.AutoSize = true; - this.metroLabel16.Location = new System.Drawing.Point(24, 31); - this.metroLabel16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.metroLabel16.Name = "metroLabel16"; - this.metroLabel16.Size = new System.Drawing.Size(107, 20); - this.metroLabel16.TabIndex = 6; - this.metroLabel16.Text = "MetroCheckBox"; - // - // metroComboBox1 - // - this.metroComboBox1.FormattingEnabled = true; - this.metroComboBox1.ItemHeight = 24; - this.metroComboBox1.Items.AddRange(new object[] { - "Normal Combobox 1Normal Combobox 1Normal Combobox 1", - "Normal Combobox 2", - "Normal Combobox 3", - "Normal Combobox 4"}); - this.metroComboBox1.Location = new System.Drawing.Point(268, 203); - this.metroComboBox1.Margin = new System.Windows.Forms.Padding(4); - this.metroComboBox1.Name = "metroComboBox1"; - this.metroComboBox1.PromptText = "Prompted ComboBox"; - this.metroComboBox1.Size = new System.Drawing.Size(283, 30); - this.metroComboBox1.TabIndex = 5; - this.metroToolTip.SetToolTip(this.metroComboBox1, "ComboBox Tooltip"); - this.metroComboBox1.UseSelectable = true; - // - // metroRadioButton1 - // - this.metroRadioButton1.AutoSize = true; - this.metroRadioButton1.Location = new System.Drawing.Point(24, 197); - this.metroRadioButton1.Margin = new System.Windows.Forms.Padding(4); - this.metroRadioButton1.Name = "metroRadioButton1"; - this.metroRadioButton1.Size = new System.Drawing.Size(144, 17); - this.metroRadioButton1.TabIndex = 4; - this.metroRadioButton1.TabStop = true; - this.metroRadioButton1.Text = "Normal Radiobutton"; - this.metroToolTip.SetToolTip(this.metroRadioButton1, "RadioButton Tooltip"); - this.metroRadioButton1.UseSelectable = true; - // - // metroToggle1 - // - this.metroToggle1.AutoSize = true; - this.metroToggle1.Location = new System.Drawing.Point(604, 204); - this.metroToggle1.Margin = new System.Windows.Forms.Padding(4); - this.metroToggle1.Name = "metroToggle1"; - this.metroToggle1.Size = new System.Drawing.Size(80, 21); - this.metroToggle1.TabIndex = 3; - this.metroToggle1.Text = "Off"; - this.metroToolTip.SetToolTip(this.metroToggle1, "Toggle Tooltip"); - this.metroToggle1.UseSelectable = true; - // - // metroCheckBox1 - // - this.metroCheckBox1.AutoSize = true; - this.metroCheckBox1.Location = new System.Drawing.Point(24, 65); - this.metroCheckBox1.Margin = new System.Windows.Forms.Padding(4); - this.metroCheckBox1.Name = "metroCheckBox1"; - this.metroCheckBox1.Size = new System.Drawing.Size(128, 17); - this.metroCheckBox1.TabIndex = 2; - this.metroCheckBox1.Text = "Normal Checkbox"; - this.metroToolTip.SetToolTip(this.metroCheckBox1, "Checkbox Tooltip"); - this.metroCheckBox1.UseSelectable = true; - // - // metroTabPage3 - // - this.metroTabPage3.Controls.Add(this.metroLabel7); - this.metroTabPage3.Controls.Add(this.metroProgressSpinner3); - this.metroTabPage3.Controls.Add(this.metroProgressSpinner2); - this.metroTabPage3.Controls.Add(this.metroLabel6); - this.metroTabPage3.Controls.Add(this.metroLabel5); - this.metroTabPage3.Controls.Add(this.metroProgressBar1); - this.metroTabPage3.Controls.Add(this.metroLabel4); - this.metroTabPage3.Controls.Add(this.metroScrollBar1); - this.metroTabPage3.Controls.Add(this.metroTrackBar1); - this.metroTabPage3.Controls.Add(this.metroProgressSpinner1); - this.metroTabPage3.Controls.Add(this.metroProgressBar); - this.metroTabPage3.HorizontalScrollbar = true; - this.metroTabPage3.HorizontalScrollbarBarColor = true; - this.metroTabPage3.HorizontalScrollbarHighlightOnWheel = false; - this.metroTabPage3.HorizontalScrollbarSize = 12; - this.metroTabPage3.Location = new System.Drawing.Point(4, 38); - this.metroTabPage3.Margin = new System.Windows.Forms.Padding(4); - this.metroTabPage3.Name = "metroTabPage3"; - this.metroTabPage3.Padding = new System.Windows.Forms.Padding(33, 31, 33, 31); - this.metroTabPage3.Size = new System.Drawing.Size(898, 329); - this.metroTabPage3.TabIndex = 2; - this.metroTabPage3.Text = "Scroll && Progress"; - this.metroTabPage3.VerticalScrollbar = true; - this.metroTabPage3.VerticalScrollbarBarColor = true; - this.metroTabPage3.VerticalScrollbarHighlightOnWheel = false; - this.metroTabPage3.VerticalScrollbarSize = 13; - this.metroTabPage3.Visible = false; - // - // metroLabel7 - // - this.metroLabel7.AutoSize = true; - this.metroLabel7.Location = new System.Drawing.Point(37, 230); - this.metroLabel7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.metroLabel7.Name = "metroLabel7"; - this.metroLabel7.Size = new System.Drawing.Size(99, 20); - this.metroLabel7.TabIndex = 12; - this.metroLabel7.Text = "MetroScrollBar"; - // - // metroProgressSpinner3 - // - this.metroProgressSpinner3.Location = new System.Drawing.Point(460, 180); - this.metroProgressSpinner3.Margin = new System.Windows.Forms.Padding(4); - this.metroProgressSpinner3.Maximum = 100; - this.metroProgressSpinner3.Name = "metroProgressSpinner3"; - this.metroProgressSpinner3.Size = new System.Drawing.Size(31, 28); - this.metroProgressSpinner3.TabIndex = 11; - this.metroProgressSpinner3.UseSelectable = true; - this.metroProgressSpinner3.Value = 50; - // - // metroProgressSpinner2 - // - this.metroProgressSpinner2.Location = new System.Drawing.Point(421, 180); - this.metroProgressSpinner2.Margin = new System.Windows.Forms.Padding(4); - this.metroProgressSpinner2.Maximum = 100; - this.metroProgressSpinner2.Name = "metroProgressSpinner2"; - this.metroProgressSpinner2.Size = new System.Drawing.Size(31, 28); - this.metroProgressSpinner2.TabIndex = 10; - this.metroProgressSpinner2.UseSelectable = true; - this.metroProgressSpinner2.Value = 25; - // - // metroLabel6 - // - this.metroLabel6.AutoSize = true; - this.metroLabel6.Location = new System.Drawing.Point(383, 153); - this.metroLabel6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.metroLabel6.Name = "metroLabel6"; - this.metroLabel6.Size = new System.Drawing.Size(147, 20); - this.metroLabel6.TabIndex = 9; - this.metroLabel6.Text = "MetroProgressSpinner"; - // - // metroLabel5 - // - this.metroLabel5.AutoSize = true; - this.metroLabel5.Location = new System.Drawing.Point(37, 153); - this.metroLabel5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.metroLabel5.Name = "metroLabel5"; - this.metroLabel5.Size = new System.Drawing.Size(98, 20); - this.metroLabel5.TabIndex = 8; - this.metroLabel5.Text = "MetroTrackBar"; - // - // metroProgressBar1 - // - this.metroProgressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.metroProgressBar1.Location = new System.Drawing.Point(37, 94); - this.metroProgressBar1.Margin = new System.Windows.Forms.Padding(4); - this.metroProgressBar1.MinimumSize = new System.Drawing.Size(667, 28); - this.metroProgressBar1.Name = "metroProgressBar1"; - this.metroProgressBar1.ProgressBarStyle = System.Windows.Forms.ProgressBarStyle.Marquee; - this.metroProgressBar1.Size = new System.Drawing.Size(667, 28); - this.metroProgressBar1.TabIndex = 7; - this.metroProgressBar1.Value = 25; - // - // metroLabel4 - // - this.metroLabel4.AutoSize = true; - this.metroLabel4.Location = new System.Drawing.Point(37, 31); - this.metroLabel4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.metroLabel4.Name = "metroLabel4"; - this.metroLabel4.Size = new System.Drawing.Size(120, 20); - this.metroLabel4.TabIndex = 6; - this.metroLabel4.Text = "MetroProgressBar"; - // - // metroScrollBar1 - // - this.metroScrollBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.metroScrollBar1.LargeChange = 10; - this.metroScrollBar1.Location = new System.Drawing.Point(41, 257); - this.metroScrollBar1.Margin = new System.Windows.Forms.Padding(4); - this.metroScrollBar1.Maximum = 100; - this.metroScrollBar1.Minimum = 0; - this.metroScrollBar1.MinimumSize = new System.Drawing.Size(667, 28); - this.metroScrollBar1.MouseWheelBarPartitions = 10; - this.metroScrollBar1.Name = "metroScrollBar1"; - this.metroScrollBar1.Orientation = MetroFramework.Controls.MetroScrollOrientation.Horizontal; - this.metroScrollBar1.ScrollbarSize = 28; - this.metroScrollBar1.Size = new System.Drawing.Size(667, 28); - this.metroScrollBar1.TabIndex = 5; - this.metroToolTip.SetToolTip(this.metroScrollBar1, "Scrollbar Tooltip"); - this.metroScrollBar1.UseBarColor = true; - this.metroScrollBar1.UseSelectable = true; - // - // metroTrackBar1 - // - this.metroTrackBar1.BackColor = System.Drawing.Color.Transparent; - this.metroTrackBar1.Location = new System.Drawing.Point(37, 180); - this.metroTrackBar1.Margin = new System.Windows.Forms.Padding(4); - this.metroTrackBar1.Name = "metroTrackBar1"; - this.metroTrackBar1.Size = new System.Drawing.Size(316, 28); - this.metroTrackBar1.TabIndex = 4; - this.metroTrackBar1.Text = "metroTrackBar1"; - this.metroToolTip.SetToolTip(this.metroTrackBar1, "TrackBar Tooltip"); - // - // metroProgressSpinner1 - // - this.metroProgressSpinner1.Location = new System.Drawing.Point(383, 180); - this.metroProgressSpinner1.Margin = new System.Windows.Forms.Padding(4); - this.metroProgressSpinner1.Maximum = 100; - this.metroProgressSpinner1.Name = "metroProgressSpinner1"; - this.metroProgressSpinner1.Size = new System.Drawing.Size(31, 28); - this.metroProgressSpinner1.TabIndex = 3; - this.metroToolTip.SetToolTip(this.metroProgressSpinner1, "Spinner Tooltip"); - this.metroProgressSpinner1.UseSelectable = true; - // - // metroProgressBar - // - this.metroProgressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.metroProgressBar.Enabled = false; - this.metroProgressBar.Location = new System.Drawing.Point(37, 58); - this.metroProgressBar.Margin = new System.Windows.Forms.Padding(4); - this.metroProgressBar.MinimumSize = new System.Drawing.Size(667, 28); - this.metroProgressBar.Name = "metroProgressBar"; - this.metroProgressBar.Size = new System.Drawing.Size(667, 28); - this.metroProgressBar.TabIndex = 2; - this.metroToolTip.SetToolTip(this.metroProgressBar, "ProgressBar Tooltip"); - this.metroProgressBar.Value = 25; - // - // metroTabPage4 - // - this.metroTabPage4.Controls.Add(this.metroTextBox4); - this.metroTabPage4.Controls.Add(this.metroTextBox3); - this.metroTabPage4.Controls.Add(this.metroTextBox2); - this.metroTabPage4.Controls.Add(this.metroLabel15); - this.metroTabPage4.Controls.Add(this.metroLabel12); - this.metroTabPage4.Controls.Add(this.metroLabel13); - this.metroTabPage4.Controls.Add(this.metroLabel14); - this.metroTabPage4.Controls.Add(this.metroLabel11); - this.metroTabPage4.Controls.Add(this.metroLabel10); - this.metroTabPage4.Controls.Add(this.metroLabel3); - this.metroTabPage4.Controls.Add(this.metroTextBox1); - this.metroTabPage4.Controls.Add(this.metroLabel2); - this.metroTabPage4.HorizontalScrollbarBarColor = true; - this.metroTabPage4.HorizontalScrollbarHighlightOnWheel = false; - this.metroTabPage4.HorizontalScrollbarSize = 12; - this.metroTabPage4.Location = new System.Drawing.Point(4, 38); - this.metroTabPage4.Margin = new System.Windows.Forms.Padding(4); - this.metroTabPage4.Name = "metroTabPage4"; - this.metroTabPage4.Padding = new System.Windows.Forms.Padding(33, 31, 33, 31); - this.metroTabPage4.Size = new System.Drawing.Size(898, 329); - this.metroTabPage4.TabIndex = 3; - this.metroTabPage4.Text = "Labels && Text"; - this.metroTabPage4.VerticalScrollbarBarColor = true; - this.metroTabPage4.VerticalScrollbarHighlightOnWheel = false; - this.metroTabPage4.VerticalScrollbarSize = 13; - this.metroTabPage4.Visible = false; - // - // metroTextBox4 - // - // - // - // - this.metroTextBox4.CustomButton.Image = null; - this.metroTextBox4.CustomButton.Location = new System.Drawing.Point(202, 1); - this.metroTextBox4.CustomButton.Margin = new System.Windows.Forms.Padding(5); - this.metroTextBox4.CustomButton.Name = ""; - this.metroTextBox4.CustomButton.Size = new System.Drawing.Size(25, 25); - this.metroTextBox4.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; - this.metroTextBox4.CustomButton.TabIndex = 1; - this.metroTextBox4.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; - this.metroTextBox4.CustomButton.UseSelectable = true; - this.metroTextBox4.CustomButton.Visible = false; - this.metroTextBox4.Enabled = false; - this.metroTextBox4.Lines = new string[] { - "Disabled Textbox"}; - this.metroTextBox4.Location = new System.Drawing.Point(456, 130); - this.metroTextBox4.Margin = new System.Windows.Forms.Padding(4); - this.metroTextBox4.MaxLength = 32767; - this.metroTextBox4.Name = "metroTextBox4"; - this.metroTextBox4.PasswordChar = '\0'; - this.metroTextBox4.ScrollBars = System.Windows.Forms.ScrollBars.None; - this.metroTextBox4.SelectedText = ""; - this.metroTextBox4.SelectionLength = 0; - this.metroTextBox4.SelectionStart = 0; - this.metroTextBox4.ShortcutsEnabled = true; - this.metroTextBox4.Size = new System.Drawing.Size(228, 27); - this.metroTextBox4.TabIndex = 13; - this.metroTextBox4.Text = "Disabled Textbox"; - this.metroTextBox4.UseSelectable = true; - this.metroTextBox4.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - this.metroTextBox4.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); - // - // metroTextBox3 - // - // - // - // - this.metroTextBox3.CustomButton.Image = null; - this.metroTextBox3.CustomButton.Location = new System.Drawing.Point(118, 2); - this.metroTextBox3.CustomButton.Margin = new System.Windows.Forms.Padding(5); - this.metroTextBox3.CustomButton.Name = ""; - this.metroTextBox3.CustomButton.Size = new System.Drawing.Size(107, 107); - this.metroTextBox3.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; - this.metroTextBox3.CustomButton.TabIndex = 1; - this.metroTextBox3.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; - this.metroTextBox3.CustomButton.UseSelectable = true; - this.metroTextBox3.CustomButton.Visible = false; - this.metroTextBox3.Lines = new string[] { - "Multiline Textbox"}; - this.metroTextBox3.Location = new System.Drawing.Point(456, 165); - this.metroTextBox3.Margin = new System.Windows.Forms.Padding(4); - this.metroTextBox3.MaxLength = 32767; - this.metroTextBox3.Multiline = true; - this.metroTextBox3.Name = "metroTextBox3"; - this.metroTextBox3.PasswordChar = '\0'; - this.metroTextBox3.ScrollBars = System.Windows.Forms.ScrollBars.None; - this.metroTextBox3.SelectedText = ""; - this.metroTextBox3.SelectionLength = 0; - this.metroTextBox3.SelectionStart = 0; - this.metroTextBox3.ShortcutsEnabled = true; - this.metroTextBox3.Size = new System.Drawing.Size(228, 112); - this.metroTextBox3.TabIndex = 12; - this.metroTextBox3.Text = "Multiline Textbox"; - this.metroTextBox3.UseSelectable = true; - this.metroTextBox3.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - this.metroTextBox3.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); - // - // metroTextBox2 - // - // - // - // - this.metroTextBox2.CustomButton.Image = null; - this.metroTextBox2.CustomButton.Location = new System.Drawing.Point(202, 1); - this.metroTextBox2.CustomButton.Margin = new System.Windows.Forms.Padding(5); - this.metroTextBox2.CustomButton.Name = ""; - this.metroTextBox2.CustomButton.Size = new System.Drawing.Size(25, 25); - this.metroTextBox2.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; - this.metroTextBox2.CustomButton.TabIndex = 1; - this.metroTextBox2.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; - this.metroTextBox2.CustomButton.UseSelectable = true; - this.metroTextBox2.CustomButton.Visible = false; - this.metroTextBox2.IconRight = true; - this.metroTextBox2.Lines = new string[] { - "Styled Textbox"}; - this.metroTextBox2.Location = new System.Drawing.Point(456, 96); - this.metroTextBox2.Margin = new System.Windows.Forms.Padding(4); - this.metroTextBox2.MaxLength = 32767; - this.metroTextBox2.Name = "metroTextBox2"; - this.metroTextBox2.PasswordChar = '\0'; - this.metroTextBox2.ScrollBars = System.Windows.Forms.ScrollBars.None; - this.metroTextBox2.SelectedText = ""; - this.metroTextBox2.SelectionLength = 0; - this.metroTextBox2.SelectionStart = 0; - this.metroTextBox2.ShortcutsEnabled = true; - this.metroTextBox2.Size = new System.Drawing.Size(228, 27); - this.metroTextBox2.TabIndex = 11; - this.metroTextBox2.Text = "Styled Textbox"; - this.metroTextBox2.UseSelectable = true; - this.metroTextBox2.UseStyleColors = true; - this.metroTextBox2.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - this.metroTextBox2.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); - // - // metroLabel15 - // - this.metroLabel15.AutoSize = true; - this.metroLabel15.Location = new System.Drawing.Point(456, 31); - this.metroLabel15.Margin = new System.Windows.Forms.Padding(4); - this.metroLabel15.Name = "metroLabel15"; - this.metroLabel15.Size = new System.Drawing.Size(92, 20); - this.metroLabel15.TabIndex = 10; - this.metroLabel15.Text = "MetroTextBox"; - // - // metroLabel12 - // - this.metroLabel12.AutoSize = true; - this.metroLabel12.Enabled = false; - this.metroLabel12.LabelMode = MetroFramework.Controls.MetroLabelMode.Selectable; - this.metroLabel12.Location = new System.Drawing.Point(197, 123); - this.metroLabel12.Margin = new System.Windows.Forms.Padding(4); - this.metroLabel12.Name = "metroLabel12"; - this.metroLabel12.Size = new System.Drawing.Size(166, 20); - this.metroLabel12.TabIndex = 9; - this.metroLabel12.Text = "Disabled Selectable Label"; - // - // metroLabel13 - // - this.metroLabel13.AutoSize = true; - this.metroLabel13.LabelMode = MetroFramework.Controls.MetroLabelMode.Selectable; - this.metroLabel13.Location = new System.Drawing.Point(197, 92); - this.metroLabel13.Margin = new System.Windows.Forms.Padding(4); - this.metroLabel13.Name = "metroLabel13"; - this.metroLabel13.Size = new System.Drawing.Size(150, 20); - this.metroLabel13.TabIndex = 8; - this.metroLabel13.Text = "Styled Selectable Label"; - this.metroLabel13.UseStyleColors = true; - // - // metroLabel14 - // - this.metroLabel14.AutoSize = true; - this.metroLabel14.LabelMode = MetroFramework.Controls.MetroLabelMode.Selectable; - this.metroLabel14.Location = new System.Drawing.Point(197, 62); - this.metroLabel14.Margin = new System.Windows.Forms.Padding(4); - this.metroLabel14.Name = "metroLabel14"; - this.metroLabel14.Size = new System.Drawing.Size(159, 20); - this.metroLabel14.TabIndex = 7; - this.metroLabel14.Text = "Normal Selectable Label"; - this.metroToolTip.SetToolTip(this.metroLabel14, "Label Tooltip"); - // - // metroLabel11 - // - this.metroLabel11.AutoSize = true; - this.metroLabel11.Enabled = false; - this.metroLabel11.Location = new System.Drawing.Point(37, 123); - this.metroLabel11.Margin = new System.Windows.Forms.Padding(4); - this.metroLabel11.Name = "metroLabel11"; - this.metroLabel11.Size = new System.Drawing.Size(99, 20); - this.metroLabel11.TabIndex = 6; - this.metroLabel11.Text = "Disabled Label"; - // - // metroLabel10 - // - this.metroLabel10.AutoSize = true; - this.metroLabel10.Location = new System.Drawing.Point(37, 92); - this.metroLabel10.Margin = new System.Windows.Forms.Padding(4); - this.metroLabel10.Name = "metroLabel10"; - this.metroLabel10.Size = new System.Drawing.Size(83, 20); - this.metroLabel10.TabIndex = 5; - this.metroLabel10.Text = "Styled Label"; - this.metroLabel10.UseStyleColors = true; - // - // metroLabel3 - // - this.metroLabel3.AutoSize = true; - this.metroLabel3.Location = new System.Drawing.Point(37, 62); - this.metroLabel3.Margin = new System.Windows.Forms.Padding(4); - this.metroLabel3.Name = "metroLabel3"; - this.metroLabel3.Size = new System.Drawing.Size(92, 20); - this.metroLabel3.TabIndex = 4; - this.metroLabel3.Text = "Normal Label"; - this.metroToolTip.SetToolTip(this.metroLabel3, "Label Tooltip"); - // - // metroTextBox1 - // - this.metroTextBox1.BackColor = System.Drawing.SystemColors.ActiveCaption; - // - // - // - this.metroTextBox1.CustomButton.Image = null; - this.metroTextBox1.CustomButton.Location = new System.Drawing.Point(202, 1); - this.metroTextBox1.CustomButton.Margin = new System.Windows.Forms.Padding(5); - this.metroTextBox1.CustomButton.Name = ""; - this.metroTextBox1.CustomButton.Size = new System.Drawing.Size(25, 25); - this.metroTextBox1.CustomButton.Style = MetroFramework.MetroColorStyle.Blue; - this.metroTextBox1.CustomButton.TabIndex = 1; - this.metroTextBox1.CustomButton.Theme = MetroFramework.MetroThemeStyle.Light; - this.metroTextBox1.CustomButton.UseSelectable = true; - this.metroTextBox1.CustomButton.Visible = false; - this.metroTextBox1.Lines = new string[] { - "Normal Textbox"}; - this.metroTextBox1.Location = new System.Drawing.Point(456, 62); - this.metroTextBox1.Margin = new System.Windows.Forms.Padding(4); - this.metroTextBox1.MaxLength = 32767; - this.metroTextBox1.Name = "metroTextBox1"; - this.metroTextBox1.PasswordChar = '\0'; - this.metroTextBox1.PromptText = "With Placeholder support!"; - this.metroTextBox1.ScrollBars = System.Windows.Forms.ScrollBars.None; - this.metroTextBox1.SelectedText = ""; - this.metroTextBox1.SelectionLength = 0; - this.metroTextBox1.SelectionStart = 0; - this.metroTextBox1.ShortcutsEnabled = true; - this.metroTextBox1.Size = new System.Drawing.Size(228, 27); - this.metroTextBox1.TabIndex = 3; - this.metroTextBox1.Text = "Normal Textbox"; - this.metroToolTip.SetToolTip(this.metroTextBox1, "Textbox Tooltip"); - this.metroTextBox1.UseSelectable = true; - this.metroTextBox1.WaterMark = "With Placeholder support!"; - this.metroTextBox1.WaterMarkColor = System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(109)))), ((int)(((byte)(109))))); - this.metroTextBox1.WaterMarkFont = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Pixel); - // - // metroLabel2 - // - this.metroLabel2.AutoSize = true; - this.metroLabel2.Location = new System.Drawing.Point(37, 31); - this.metroLabel2.Margin = new System.Windows.Forms.Padding(4); - this.metroLabel2.Name = "metroLabel2"; - this.metroLabel2.Size = new System.Drawing.Size(79, 20); - this.metroLabel2.TabIndex = 2; - this.metroLabel2.Text = "MetroLabel"; - // - // metroTabPage6 - // - this.metroTabPage6.Controls.Add(this.metroButton12); - this.metroTabPage6.Controls.Add(this.metroButton11); - this.metroTabPage6.Controls.Add(this.metroButton10); - this.metroTabPage6.Controls.Add(this.metroButton9); - this.metroTabPage6.Controls.Add(this.metroButton8); - this.metroTabPage6.Controls.Add(this.metroButton7); - this.metroTabPage6.Controls.Add(this.metroButton6); - this.metroTabPage6.HorizontalScrollbarBarColor = true; - this.metroTabPage6.HorizontalScrollbarHighlightOnWheel = false; - this.metroTabPage6.HorizontalScrollbarSize = 12; - this.metroTabPage6.Location = new System.Drawing.Point(4, 38); - this.metroTabPage6.Margin = new System.Windows.Forms.Padding(4); - this.metroTabPage6.Name = "metroTabPage6"; - this.metroTabPage6.Size = new System.Drawing.Size(898, 329); - this.metroTabPage6.TabIndex = 5; - this.metroTabPage6.Text = "MessageBox"; - this.metroTabPage6.VerticalScrollbarBarColor = true; - this.metroTabPage6.VerticalScrollbarHighlightOnWheel = false; - this.metroTabPage6.VerticalScrollbarSize = 13; - // - // metroButton12 - // - this.metroButton12.Location = new System.Drawing.Point(305, 160); - this.metroButton12.Margin = new System.Windows.Forms.Padding(4); - this.metroButton12.Name = "metroButton12"; - this.metroButton12.Size = new System.Drawing.Size(205, 52); - this.metroButton12.TabIndex = 8; - this.metroButton12.Text = "Default"; - this.metroButton12.UseSelectable = true; - this.metroButton12.Click += new System.EventHandler(this.metroButton12_Click); - // - // metroButton11 - // - this.metroButton11.Location = new System.Drawing.Point(595, 20); - this.metroButton11.Margin = new System.Windows.Forms.Padding(4); - this.metroButton11.Name = "metroButton11"; - this.metroButton11.Size = new System.Drawing.Size(205, 52); - this.metroButton11.TabIndex = 7; - this.metroButton11.Text = "Retry Cancel"; - this.metroButton11.UseSelectable = true; - this.metroButton11.Click += new System.EventHandler(this.metroButton11_Click); - // - // metroButton10 - // - this.metroButton10.Location = new System.Drawing.Point(7, 86); - this.metroButton10.Margin = new System.Windows.Forms.Padding(4); - this.metroButton10.Name = "metroButton10"; - this.metroButton10.Size = new System.Drawing.Size(205, 52); - this.metroButton10.TabIndex = 6; - this.metroButton10.Text = "Ok Cancel"; - this.metroButton10.UseSelectable = true; - this.metroButton10.Click += new System.EventHandler(this.metroButton10_Click); - // - // metroButton9 - // - this.metroButton9.Location = new System.Drawing.Point(595, 86); - this.metroButton9.Margin = new System.Windows.Forms.Padding(4); - this.metroButton9.Name = "metroButton9"; - this.metroButton9.Size = new System.Drawing.Size(205, 52); - this.metroButton9.TabIndex = 5; - this.metroButton9.Text = "Abort Retry Ignore"; - this.metroButton9.UseSelectable = true; - this.metroButton9.Click += new System.EventHandler(this.metroButton9_Click); - // - // metroButton8 - // - this.metroButton8.Location = new System.Drawing.Point(305, 86); - this.metroButton8.Margin = new System.Windows.Forms.Padding(4); - this.metroButton8.Name = "metroButton8"; - this.metroButton8.Size = new System.Drawing.Size(205, 52); - this.metroButton8.TabIndex = 4; - this.metroButton8.Text = "Yes No Cancel"; - this.metroButton8.UseSelectable = true; - this.metroButton8.Click += new System.EventHandler(this.metroButton8_Click); - // - // metroButton7 - // - this.metroButton7.Location = new System.Drawing.Point(305, 20); - this.metroButton7.Margin = new System.Windows.Forms.Padding(4); - this.metroButton7.Name = "metroButton7"; - this.metroButton7.Size = new System.Drawing.Size(205, 52); - this.metroButton7.TabIndex = 3; - this.metroButton7.Text = "Yes No"; - this.metroButton7.UseSelectable = true; - this.metroButton7.Click += new System.EventHandler(this.metroButton7_Click); - // - // metroButton6 - // - this.metroButton6.Location = new System.Drawing.Point(7, 20); - this.metroButton6.Margin = new System.Windows.Forms.Padding(4); - this.metroButton6.Name = "metroButton6"; - this.metroButton6.Size = new System.Drawing.Size(205, 52); - this.metroButton6.TabIndex = 2; - this.metroButton6.Text = "Ok"; - this.metroButton6.UseSelectable = true; - this.metroButton6.Click += new System.EventHandler(this.metroButton6_Click); - // - // metroTabPage7 - // - this.metroTabPage7.Controls.Add(this.metroGrid1); - this.metroTabPage7.HorizontalScrollbarBarColor = true; - this.metroTabPage7.HorizontalScrollbarHighlightOnWheel = false; - this.metroTabPage7.HorizontalScrollbarSize = 12; - this.metroTabPage7.Location = new System.Drawing.Point(4, 38); - this.metroTabPage7.Margin = new System.Windows.Forms.Padding(4); - this.metroTabPage7.Name = "metroTabPage7"; - this.metroTabPage7.Padding = new System.Windows.Forms.Padding(0, 6, 0, 0); - this.metroTabPage7.Size = new System.Drawing.Size(898, 329); - this.metroTabPage7.TabIndex = 6; - this.metroTabPage7.Text = "Grid"; - this.metroTabPage7.VerticalScrollbarBarColor = true; - this.metroTabPage7.VerticalScrollbarHighlightOnWheel = false; - this.metroTabPage7.VerticalScrollbarSize = 13; - // - // metroGrid1 - // - this.metroGrid1.AllowUserToResizeRows = false; - this.metroGrid1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.metroGrid1.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.metroGrid1.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; - this.metroGrid1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(211)))), ((int)(((byte)(255))))); - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.metroGrid1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; - this.metroGrid1.ColumnHeadersHeight = 30; - this.metroGrid1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing; - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - dataGridViewCellStyle2.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(136)))), ((int)(((byte)(136))))); - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(211)))), ((int)(((byte)(255))))); - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.metroGrid1.DefaultCellStyle = dataGridViewCellStyle2; - this.metroGrid1.Dock = System.Windows.Forms.DockStyle.Fill; - this.metroGrid1.EnableHeadersVisualStyles = false; - this.metroGrid1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - this.metroGrid1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - this.metroGrid1.HighLightPercentage = 0.5F; - this.metroGrid1.Location = new System.Drawing.Point(0, 6); - this.metroGrid1.Margin = new System.Windows.Forms.Padding(4); - this.metroGrid1.Name = "metroGrid1"; - this.metroGrid1.RowHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; - dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(219))))); - dataGridViewCellStyle3.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); - dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); - dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(211)))), ((int)(((byte)(255))))); - dataGridViewCellStyle3.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(17)))), ((int)(((byte)(17))))); - dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.metroGrid1.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; - this.metroGrid1.RowHeadersVisible = false; - this.metroGrid1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; - this.metroGrid1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.metroGrid1.Size = new System.Drawing.Size(898, 323); - this.metroGrid1.TabIndex = 2; - // - // metroTabPage5 - // - this.metroTabPage5.Controls.Add(this.metroTile5); - this.metroTabPage5.Controls.Add(this.metroTile4); - this.metroTabPage5.Controls.Add(this.metroTile3); - this.metroTabPage5.Controls.Add(this.propertyGrid1); - this.metroTabPage5.Controls.Add(this.richTextBox1); - this.metroTabPage5.Controls.Add(this.label2); - this.metroTabPage5.Controls.Add(this.label1); - this.metroTabPage5.HorizontalScrollbarBarColor = true; - this.metroTabPage5.HorizontalScrollbarHighlightOnWheel = false; - this.metroTabPage5.HorizontalScrollbarSize = 12; - this.metroTabPage5.Location = new System.Drawing.Point(4, 38); - this.metroTabPage5.Margin = new System.Windows.Forms.Padding(4); - this.metroTabPage5.Name = "metroTabPage5"; - this.metroTabPage5.Size = new System.Drawing.Size(898, 329); - this.metroTabPage5.TabIndex = 4; - this.metroTabPage5.Text = "Legacy"; - this.metroTabPage5.VerticalScrollbarBarColor = true; - this.metroTabPage5.VerticalScrollbarHighlightOnWheel = false; - this.metroTabPage5.VerticalScrollbarSize = 13; - // - // metroTile5 - // - this.metroTile5.ActiveControl = null; - this.metroTile5.Location = new System.Drawing.Point(212, 215); - this.metroTile5.Margin = new System.Windows.Forms.Padding(4); - this.metroTile5.Name = "metroTile5"; - this.metroTile5.Size = new System.Drawing.Size(75, 63); - this.metroTile5.Style = MetroFramework.MetroColorStyle.Red; - this.metroTile5.TabIndex = 8; - this.metroTile5.Text = "metroTile5"; - this.metroTile5.UseSelectable = true; - // - // metroTile4 - // - this.metroTile4.ActiveControl = null; - this.metroTile4.Location = new System.Drawing.Point(129, 215); - this.metroTile4.Margin = new System.Windows.Forms.Padding(4); - this.metroTile4.Name = "metroTile4"; - this.metroTile4.Size = new System.Drawing.Size(75, 63); - this.metroTile4.Style = MetroFramework.MetroColorStyle.Orange; - this.metroTile4.TabIndex = 7; - this.metroTile4.Text = "metroTile4"; - this.metroTile4.UseSelectable = true; - // - // metroTile3 - // - this.metroTile3.ActiveControl = null; - this.metroTile3.Location = new System.Drawing.Point(47, 215); - this.metroTile3.Margin = new System.Windows.Forms.Padding(4); - this.metroTile3.Name = "metroTile3"; - this.metroTile3.Size = new System.Drawing.Size(75, 63); - this.metroTile3.Style = MetroFramework.MetroColorStyle.Lime; - this.metroTile3.TabIndex = 6; - this.metroTile3.Text = "metroTile3"; - this.metroTile3.UseSelectable = true; - // - // propertyGrid1 - // - this.metroStyleExtender.SetApplyMetroTheme(this.propertyGrid1, true); - this.propertyGrid1.CategoryForeColor = System.Drawing.SystemColors.InactiveCaptionText; - this.propertyGrid1.Location = new System.Drawing.Point(373, 23); - this.propertyGrid1.Margin = new System.Windows.Forms.Padding(4); - this.propertyGrid1.Name = "propertyGrid1"; - this.propertyGrid1.SelectedObject = this; - this.propertyGrid1.Size = new System.Drawing.Size(341, 283); - this.propertyGrid1.TabIndex = 5; - // - // richTextBox1 - // - this.metroStyleExtender.SetApplyMetroTheme(this.richTextBox1, true); - this.richTextBox1.Location = new System.Drawing.Point(39, 96); - this.richTextBox1.Margin = new System.Windows.Forms.Padding(4); - this.richTextBox1.Name = "richTextBox1"; - this.richTextBox1.Size = new System.Drawing.Size(261, 110); - this.richTextBox1.TabIndex = 4; - this.richTextBox1.Text = "This RichTextBox has ApplyMetroTheme=true\nDoes it work?"; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(43, 65); - this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(260, 17); - this.label2.TabIndex = 3; - this.label2.Text = "Legacy Label (ApplyMetroTheme=false)"; - // - // label1 - // - this.metroStyleExtender.SetApplyMetroTheme(this.label1, true); - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(43, 28); - this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(255, 17); - this.label1.TabIndex = 2; - this.label1.Text = "Legacy Label (ApplyMetroTheme=true)"; - // - // metroStyleManager - // - this.metroStyleManager.Owner = this; - // - // metroToolTip - // - this.metroToolTip.Style = MetroFramework.MetroColorStyle.Blue; - this.metroToolTip.StyleManager = null; - this.metroToolTip.Theme = MetroFramework.MetroThemeStyle.Light; - // - // MainForm - // - this.ApplyImageInvert = true; - this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.BackImage = global::MetroFramework.Demo.Properties.Resources.GitHub_Mark; - this.BackImagePadding = new System.Windows.Forms.Padding(210, 10, 0, 0); - this.BackMaxSize = 50; - this.ClientSize = new System.Drawing.Size(960, 470); - this.Controls.Add(this.metroTabControl1); - this.Margin = new System.Windows.Forms.Padding(4); - this.Name = "MainForm"; - this.Padding = new System.Windows.Forms.Padding(27, 74, 27, 25); - this.ShadowType = MetroFramework.Forms.MetroFormShadowType.None; - this.StyleManager = this.metroStyleManager; - this.Text = "metro framework"; - this.metroTabControl1.ResumeLayout(false); - this.metroTabPage1.ResumeLayout(false); - this.metroTabPage1.PerformLayout(); - this.metroContextMenu1.ResumeLayout(false); - this.metroTabPage2.ResumeLayout(false); - this.metroTabPage2.PerformLayout(); - this.metroTabPage3.ResumeLayout(false); - this.metroTabPage3.PerformLayout(); - this.metroTabPage4.ResumeLayout(false); - this.metroTabPage4.PerformLayout(); - this.metroTabPage6.ResumeLayout(false); - this.metroTabPage7.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.metroGrid1)).EndInit(); - this.metroTabPage5.ResumeLayout(false); - this.metroTabPage5.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.metroStyleManager)).EndInit(); - this.ResumeLayout(false); - - } - - #endregion - - private Controls.MetroTabControl metroTabControl1; - private Components.MetroStyleManager metroStyleManager; - private Controls.MetroTabPage metroTabPage1; - private Controls.MetroTile metroTileSwitch; - private Controls.MetroTile metroTile2; - private Controls.MetroTile metroTile1; - private Components.MetroToolTip metroToolTip; - private Controls.MetroButton metroButton3; - private Controls.MetroButton metroButton2; - private Controls.MetroButton metroButton1; - private Controls.MetroLabel metroLabel1; - private Controls.MetroLink metroLink1; - private Controls.MetroTabPage metroTabPage2; - private Controls.MetroRadioButton metroRadioButton1; - private Controls.MetroToggle metroToggle1; - private Controls.MetroCheckBox metroCheckBox1; - private Controls.MetroTabPage metroTabPage3; - private Controls.MetroLabel metroLabel7; - private Controls.MetroProgressSpinner metroProgressSpinner3; - private Controls.MetroProgressSpinner metroProgressSpinner2; - private Controls.MetroLabel metroLabel6; - private Controls.MetroLabel metroLabel5; - private Controls.MetroProgressBar metroProgressBar1; - private Controls.MetroLabel metroLabel4; - private Controls.MetroScrollBar metroScrollBar1; - private Controls.MetroTrackBar metroTrackBar1; - private Controls.MetroProgressSpinner metroProgressSpinner1; - private Controls.MetroProgressBar metroProgressBar; - private Controls.MetroTabPage metroTabPage4; - private Controls.MetroLink metroLink4; - private Controls.MetroLink metroLink3; - private Controls.MetroLabel metroLabel9; - private Controls.MetroLabel metroLabel8; - private Controls.MetroLabel metroLabel11; - private Controls.MetroLabel metroLabel10; - private Controls.MetroLabel metroLabel3; - private Controls.MetroTextBox metroTextBox1; - private Controls.MetroLabel metroLabel2; - private Controls.MetroComboBox metroComboBox1; - private Controls.MetroComboBox metroComboBox3; - private Controls.MetroComboBox metroComboBox4; - private Controls.MetroTextBox metroTextBox4; - private Controls.MetroTextBox metroTextBox3; - private Controls.MetroTextBox metroTextBox2; - private Controls.MetroLabel metroLabel15; - private Controls.MetroLabel metroLabel12; - private Controls.MetroLabel metroLabel13; - private Controls.MetroLabel metroLabel14; - private Controls.MetroLabel metroLabel19; - private Controls.MetroLabel metroLabel18; - private Controls.MetroLabel metroLabel17; - private Controls.MetroLabel metroLabel16; - private Controls.MetroToggle metroToggle3; - private Controls.MetroToggle metroToggle2; - private Controls.MetroRadioButton metroRadioButton3; - private Controls.MetroRadioButton metroRadioButton2; - private Controls.MetroCheckBox metroCheckBox3; - private Controls.MetroCheckBox metroCheckBox2; - private Controls.MetroTabPage metroTabPage5; - private System.Windows.Forms.Label label2; - private System.Windows.Forms.Label label1; - private Components.MetroStyleExtender metroStyleExtender; - private System.Windows.Forms.PropertyGrid propertyGrid1; - private System.Windows.Forms.RichTextBox richTextBox1; - private Controls.MetroTile metroTile5; - private Controls.MetroTile metroTile4; - private Controls.MetroTile metroTile3; - private Controls.MetroButton metroButton5; - private Controls.MetroContextMenu metroContextMenu1; - private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem maintenanceToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem toolsToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem settingsToolStripMenuItem; - private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; - private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem; - private Controls.MetroTabPage metroTabPage6; - private Controls.MetroButton metroButton9; - private Controls.MetroButton metroButton8; - private Controls.MetroButton metroButton7; - private Controls.MetroButton metroButton6; - private Controls.MetroButton metroButton11; - private Controls.MetroButton metroButton10; - private Controls.MetroButton metroButton12; - private Controls.MetroDateTime metroDateTime1; - private Controls.MetroDateTime metroDateTime2; - private Controls.MetroLabel metroLabel20; - private Controls.MetroTabPage metroTabPage7; - private Controls.MetroGrid metroGrid1; - private Controls.MetroRadioButton metroRadioButton4; - private Controls.MetroRadioButton metroRadioButton5; - private Controls.MetroCheckBox metroCheckBox4; - private Controls.MetroCheckBox metroCheckBox5; - private Controls.MetroLabel metroLabel21; - private Controls.MetroLabel metroLabel22; - private Controls.MetroRadioButton metroRadioButton6; - private Controls.MetroCheckBox metroCheckBox6; - private Controls.MetroDropDownButton metroDropDownButton1; - } -} - diff --git a/MetroFramework.Demo/MainForm.cs b/MetroFramework.Demo/MainForm.cs deleted file mode 100644 index 213214e2..00000000 --- a/MetroFramework.Demo/MainForm.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System; -using System.Drawing; -using System.Globalization; -using System.Windows.Forms; - -using MetroFramework.Forms; -using System.Data; - -namespace MetroFramework.Demo -{ - public partial class MainForm : MetroForm - { - public MainForm() - { - InitializeComponent(); - - this.BorderStyle = MetroFormBorderStyle.FixedSingle; - this.ShadowType = MetroFormShadowType.AeroShadow; - - DataTable _table = new DataTable(); - _table.ReadXml(Application.StartupPath + @"\Data\Books.xml"); - metroGrid1.DataSource = _table; - - metroGrid1.Font = new Font("Segoe UI", 11f, FontStyle.Regular, GraphicsUnit.Pixel); - metroGrid1.AllowUserToAddRows = false; - - this.metroComboBox4.DataSource = _table; - metroComboBox4.ValueMember = "Id"; - metroComboBox4.DisplayMember = "title"; - } - - private void metroTileSwitch_Click(object sender, EventArgs e) - { - var m = new Random(); - int next = m.Next(0, 13); - metroStyleManager.Style = (MetroColorStyle)next; - } - - private void metroTile1_Click(object sender, EventArgs e) - { - metroStyleManager.Theme = metroStyleManager.Theme == MetroThemeStyle.Light ? MetroThemeStyle.Dark : MetroThemeStyle.Light; - } - - private void metroButton1_Click(object sender, EventArgs e) - { - MetroTaskWindow.ShowTaskWindow(this,"SubControl in TaskWindow", new TaskWindowControl(), 10); - } - - private void metroButton2_Click(object sender, EventArgs e) - { - MetroMessageBox.Show(this, "Do you like this metro message box?", "Metro Title", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Asterisk); - } - - private void metroButton5_Click(object sender, EventArgs e) - { - metroContextMenu1.Show(metroButton5, new Point(0, metroButton5.Height)); - } - - private void metroButton6_Click(object sender, EventArgs e) - { - MetroMessageBox.Show(this, "This is a sample MetroMessagebox `OK` only button", "MetroMessagebox", MessageBoxButtons.OK, MessageBoxIcon.Information); - } - - private void metroButton10_Click(object sender, EventArgs e) - { - MetroMessageBox.Show(this, "This is a sample MetroMessagebox `OK` and `Cancel` button", "MetroMessagebox", MessageBoxButtons.OKCancel, MessageBoxIcon.Information); - } - - private void metroButton7_Click(object sender, EventArgs e) - { - MetroMessageBox.Show(this, "This is a sample MetroMessagebox `Yes` and `No` button", "MetroMessagebox", MessageBoxButtons.YesNo, MessageBoxIcon.Question); - } - - private void metroButton8_Click(object sender, EventArgs e) - { - MetroMessageBox.Show(this, "This is a sample MetroMessagebox `Yes`, `No` and `Cancel` button", "MetroMessagebox", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question); - } - - private void metroButton11_Click(object sender, EventArgs e) - { - MetroMessageBox.Show(this, "This is a sample MetroMessagebox `Retry` and `Cancel` button. With warning style.", "MetroMessagebox", MessageBoxButtons.RetryCancel, MessageBoxIcon.Warning); - } - - private void metroButton9_Click(object sender, EventArgs e) - { - MetroMessageBox.Show(this, "This is a sample MetroMessagebox `Abort`, `Retry` and `Ignore` button. With Error style.", "MetroMessagebox", MessageBoxButtons.AbortRetryIgnore, MessageBoxIcon.Error); - } - - private void metroButton12_Click(object sender, EventArgs e) - { - MetroMessageBox.Show(this, "This is a sample `default` MetroMessagebox ", "MetroMessagebox"); - } - - private void metroButton4_Click(object sender, EventArgs e) - { - metroTextBox2.Focus(); - } - } -} diff --git a/MetroFramework.Demo/MainForm.resx b/MetroFramework.Demo/MainForm.resx deleted file mode 100644 index cf7ef08c..00000000 --- a/MetroFramework.Demo/MainForm.resx +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 490, 24 - - - 176, 17 - - - 301, 17 - - - 70 - - - 17, 17 - - \ No newline at end of file diff --git a/MetroFramework.Demo/MetroFramework.Demo.csproj b/MetroFramework.Demo/MetroFramework.Demo.csproj deleted file mode 100644 index d9f1cea3..00000000 --- a/MetroFramework.Demo/MetroFramework.Demo.csproj +++ /dev/null @@ -1,152 +0,0 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {AF988819-4618-4852-9506-C1D06D04F6B2} - WinExe - Properties - MetroFramework.Demo - MetroFramework.Demo - v2.0 - 512 - - - - - 3.5 - - - false - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - Form - - - MainForm.cs - - - - - UserControl - - - TaskWindowControl.cs - - - MainForm.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - True - - - TaskWindowControl.cs - - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - - - - - - Always - - - - - - - - - - {7316584d-9a16-4280-a8ab-6d45198c6e4d} - MetroFramework.Design - - - {5a2fcae8-c2fa-41bd-90ea-16103ea07b26} - MetroFramework.Fonts - - - {bb41ac8b-cbed-4387-a7e0-4567edb3f57f} - MetroFramework - - - - - \ No newline at end of file diff --git a/MetroFramework.Demo/Program.cs b/MetroFramework.Demo/Program.cs deleted file mode 100644 index 551c91f5..00000000 --- a/MetroFramework.Demo/Program.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Windows.Forms; - -namespace MetroFramework.Demo -{ - static class Program - { - /// - /// Der Haupteinstiegspunkt für die Anwendung. - /// - [STAThread] - static void Main() - { - System.Globalization.CultureInfo cultureInfo = new System.Globalization.CultureInfo("de-DE"); - Application.CurrentCulture = cultureInfo; - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new MainForm()); - } - } -} diff --git a/MetroFramework.Demo/Properties/AssemblyInfo.cs b/MetroFramework.Demo/Properties/AssemblyInfo.cs deleted file mode 100644 index a5a0bf46..00000000 --- a/MetroFramework.Demo/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// Allgemeine Informationen über eine Assembly werden über die folgenden -// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, -// die mit einer Assembly verknüpft sind. -[assembly: AssemblyTitle("MetroFramework.Demo")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("MetroFramework.Demo")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar -// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von -// COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest. -[assembly: ComVisible(false)] - -// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird -[assembly: Guid("dcc14d32-f0b1-47a7-ac85-a544a448ad48")] - -// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: -// -// Hauptversion -// Nebenversion -// Buildnummer -// Revision -// -// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern -// übernehmen, indem Sie "*" eingeben: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MetroFramework.Demo/Properties/Resources.Designer.cs b/MetroFramework.Demo/Properties/Resources.Designer.cs deleted file mode 100644 index b98e3067..00000000 --- a/MetroFramework.Demo/Properties/Resources.Designer.cs +++ /dev/null @@ -1,83 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace MetroFramework.Demo.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MetroFramework.Demo.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap AttachOrDetach_7014 { - get { - object obj = ResourceManager.GetObject("AttachOrDetach_7014", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap GitHub_Mark { - get { - object obj = ResourceManager.GetObject("GitHub-Mark", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - } -} diff --git a/MetroFramework.Demo/Properties/Resources.resx b/MetroFramework.Demo/Properties/Resources.resx deleted file mode 100644 index 566ed289..00000000 --- a/MetroFramework.Demo/Properties/Resources.resx +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - ..\Resources\GitHub-Mark.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - - ..\Resources\AttachOrDetach_7014.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - \ No newline at end of file diff --git a/MetroFramework.Demo/Properties/Settings.Designer.cs b/MetroFramework.Demo/Properties/Settings.Designer.cs deleted file mode 100644 index 4623f6ac..00000000 --- a/MetroFramework.Demo/Properties/Settings.Designer.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// Dieser Code wurde von einem Tool generiert. -// Laufzeitversion:4.0.30319.296 -// -// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn -// der Code erneut generiert wird. -// -//------------------------------------------------------------------------------ - -namespace MetroFramework.Demo.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default { - get { - return defaultInstance; - } - } - } -} diff --git a/MetroFramework.Demo/Properties/Settings.settings b/MetroFramework.Demo/Properties/Settings.settings deleted file mode 100644 index 39645652..00000000 --- a/MetroFramework.Demo/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/MetroFramework.Demo/Resources/AttachOrDetach_7014.png b/MetroFramework.Demo/Resources/AttachOrDetach_7014.png deleted file mode 100644 index a8fbf651541e9658143df9e86380b6c9bb1bc754..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 233 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9F5he4R}c>anMpx|sz z7srr_xVw`!@*Y+YaJBVHTbRzBwy^ib&4aAAD{nUO#xSa$bS`?r^wMXhLhaw(&i`W> zZ@<}cO>XIw@U>gxw;11F;`~F{Voq_a=2ubMV!=adhoWA~Ia#>YJC$)BI3{RxEa35% z#n1kUDIBx7Q*Cead=J}pecI{T%r7f5B8RxNZZj@Y}?)Sj# e$)`1!KS&$xE}b5>rb-d$Oa@O^KbLh*2~7a3Fj}Pm diff --git a/MetroFramework.Demo/Resources/GitHub-Mark.png b/MetroFramework.Demo/Resources/GitHub-Mark.png deleted file mode 100644 index 656ee82c3ad59ba9e39a90f25f0c7ea734e6bd9c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 18154 zcmch9Wmr|w)-D245)#s}DQS@IuDwA*x>35jq_(Ii&6bevZfR+QM!H*+?(VpgbG~!F z`{SPb=X>tuaX;YRYt6ORoMVphj(5CchpMY8;$V?uAt52*z@Ty(NJz-f?q3+l;2o0K zP9gA%%tKz!L(|#H!~2z+C6cs-vza9X=J?9mQp56<#cS6dOEDxQ6b4%@Jr6yV=OX6L zj-0RVkKy!jbOC20A&E))xV$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Du_fq~y0`0OX_;59o4)_&VUrr# z1v>}mnyR<$`+VPO2o`l_GE4R&A(Pta_PDY<3406B1E>PMFsS1&U0;iM?mp+oV1Txd zjNH%M6)q*HR-uhcm4hy#;S+AcE zGpoM@1_VUkOT6w7gaxRt9$jKD488jKwMxei^qUt=O#*IJ(q{j6?1Kk@AHn~NNCSPy z6+n=*wg$hu3aM}gBzYm4n-tI?MNx{21pYt;&D6yYkTLgIjT?`vp0J(z`c0N=ezb$6 zjFsxUukFsW>69<`-~*S02Y4kv$N5I5n@iA4qlsfd3*`0V_7e_^4b{MZ-}j!5lmPYv zJ-~mpscCj*Mgz!NJuA)H29w;+*M~tDnFbD!gq;5#8s8bpdIuT<+Eg;qwKkX$(wdlG#g}DUfA>2XS8=sI9KJh_;a-&6QH+=%w^?13Hjsa1Yf?Bk`cfoH=Y-8oTV1>xX)nvlll9SqWOrc z>+%n2GzBSAD9>5Uu=(ufe5yZoE#)Y7OhLl-KcR$b9(CseWqY3TXNS2jOVicX)5r8+ z?^G-{+jjS4L@2AOa%vW9f$$>`00$k#18JgolzfGtWn7B_m4JvAlw1Jm-S?RT^e?G? zh9801DmSVAKnG6^47l80Xc6sea|C?2@7cy^iMO+|vT_(UGG9#QI(T> z+7=%|hYyY8;}!8-|Gl-9(&MZ#Hq!{G5zw|#+wXfARAJ5cXb%z)MO>X1~11;c7jXxgJ3208ZotNOGFp*HpRi zqTjrEb9`3fb(~pKSEnI{m9AslR`a!!FLA2%4K#RZ`k}`6Id549kr`1fQ+52b2_M7#i4) z-k^P54KEr{0rQQXTR@%(3b~+D{UH{y$CvsFP(_dG1sg#rzUn7v8S8lPo!fK~m>lqF ztxp8!__WS4`Ky6Go - /// Erforderliche Designervariable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Verwendete Ressourcen bereinigen. - /// - /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Vom Komponenten-Designer generierter Code - - /// - /// Erforderliche Methode für die Designerunterstützung. - /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. - /// - private void InitializeComponent() - { - this.metroTile1 = new MetroFramework.Controls.MetroTile(); - this.SuspendLayout(); - // - // metroTile1 - // - this.metroTile1.ActiveControl = null; - this.metroTile1.Location = new System.Drawing.Point(3, 3); - this.metroTile1.Name = "metroTile1"; - this.metroTile1.Size = new System.Drawing.Size(130, 83); - this.metroTile1.TabIndex = 0; - this.metroTile1.Text = "metroTile1"; - this.metroTile1.UseSelectable = true; - // - // TaskWindowControl - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.metroTile1); - this.Name = "TaskWindowControl"; - this.Size = new System.Drawing.Size(227, 136); - this.ResumeLayout(false); - - } - - #endregion - - private Controls.MetroTile metroTile1; - } -} diff --git a/MetroFramework.Demo/TaskWindowControl.cs b/MetroFramework.Demo/TaskWindowControl.cs deleted file mode 100644 index 30ca5052..00000000 --- a/MetroFramework.Demo/TaskWindowControl.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Drawing; -using System.Data; -using System.Text; -using System.Windows.Forms; - -namespace MetroFramework.Demo -{ - public partial class TaskWindowControl : UserControl - { - public TaskWindowControl() - { - InitializeComponent(); - } - } -} diff --git a/MetroFramework.Demo/TaskWindowControl.resx b/MetroFramework.Demo/TaskWindowControl.resx deleted file mode 100644 index 7080a7d1..00000000 --- a/MetroFramework.Demo/TaskWindowControl.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/MetroFramework.Demo/app.config b/MetroFramework.Demo/app.config deleted file mode 100644 index e59af44d..00000000 --- a/MetroFramework.Demo/app.config +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/MetroFramework.Design/Controls/MetroButtonDesigner.cs b/MetroFramework.Design/Controls/MetroButtonDesigner.cs index cbe30d8a..6e792b38 100644 --- a/MetroFramework.Design/Controls/MetroButtonDesigner.cs +++ b/MetroFramework.Design/Controls/MetroButtonDesigner.cs @@ -22,7 +22,6 @@ * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ using System.Collections; -using System.ComponentModel; using System.Windows.Forms.Design; namespace MetroFramework.Design.Controls diff --git a/MetroFramework.Design/Controls/MetroPanelDesigner.cs b/MetroFramework.Design/Controls/MetroPanelDesigner.cs index 40152166..406440ff 100644 --- a/MetroFramework.Design/Controls/MetroPanelDesigner.cs +++ b/MetroFramework.Design/Controls/MetroPanelDesigner.cs @@ -21,16 +21,12 @@ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -using System; -using System.Collections.Generic; -using System.Text; -using System.Windows.Forms; - +using System.Windows.Forms.Design; using MetroFramework.Controls; namespace MetroFramework.Design.Controls { - internal class MetroPanelDesigner : System.Windows.Forms.Design.ParentControlDesigner + internal class MetroPanelDesigner : ParentControlDesigner { public override void Initialize(System.ComponentModel.IComponent component) { diff --git a/MetroFramework.Design/MetroFramework.Design.csproj b/MetroFramework.Design/MetroFramework.Design.csproj index e7dff34f..cf1d1c19 100644 --- a/MetroFramework.Design/MetroFramework.Design.csproj +++ b/MetroFramework.Design/MetroFramework.Design.csproj @@ -1,35 +1,21 @@ - - - + - Debug - AnyCPU - {7316584D-9A16-4280-A8AB-6D45198C6E4D} - Library - Properties - MetroFramework.Design - MetroFramework.Design - v2.0 - 512 - + net5.0 + MetroFrameworkDesignAssembly.Title + MetroFrameworkDesignAssembly.Company + MetroFrameworkDesignAssembly.Product + MetroFrameworkDesignAssembly.Description + MetroFrameworkDesignAssembly.Copyright + 1.4.5 + 1.4.5 + bin\$(Configuration)\ - true full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 false pdbonly - true - bin\Release\ - TRACE - prompt - 4 x86 @@ -39,43 +25,31 @@ ../MetroFramework.snk - - - - + + + - - - - - - - - - - - - - - - - - - + - - {bb41ac8b-cbed-4387-a7e0-4567edb3f57f} - MetroFramework - + + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\PresentationCore.dll + + + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\PresentationFramework.dll + + + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Configuration.ConfigurationManager.dll + + + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Windows.Forms.dll + + + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Windows.Forms.Design.dll + + + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Windows.Forms.Primitives.dll + - - \ No newline at end of file diff --git a/MetroFramework.Design/Properties/AssemblyInfo.cs b/MetroFramework.Design/Properties/AssemblyInfo.cs index e129526b..7f27abdc 100644 --- a/MetroFramework.Design/Properties/AssemblyInfo.cs +++ b/MetroFramework.Design/Properties/AssemblyInfo.cs @@ -3,18 +3,6 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle(MetroFrameworkDesignAssembly.Title)] -[assembly: AssemblyDescription(MetroFrameworkDesignAssembly.Description)] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany(MetroFrameworkDesignAssembly.Company)] -[assembly: AssemblyProduct(MetroFrameworkDesignAssembly.Product)] -[assembly: AssemblyCopyright(MetroFrameworkDesignAssembly.Copyright)] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -26,19 +14,6 @@ // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("ae7e4b21-8ea9-4055-b81a-32f1ec123953")] -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion(MetroFrameworkDesignAssembly.Version)] -[assembly: AssemblyFileVersion(MetroFrameworkDesignAssembly.Version)] - internal static class MetroFrameworkDesignAssembly { internal const string Title = "MetroFramework.Design.dll"; diff --git a/MetroFramework.Fonts/MetroFramework.Fonts.csproj b/MetroFramework.Fonts/MetroFramework.Fonts.csproj index 7bc8f7de..a901553e 100644 --- a/MetroFramework.Fonts/MetroFramework.Fonts.csproj +++ b/MetroFramework.Fonts/MetroFramework.Fonts.csproj @@ -1,33 +1,20 @@ - - - + - Debug - AnyCPU - {5A2FCAE8-C2FA-41BD-90EA-16103EA07B26} - Library - Properties - MetroFramework.Fonts - MetroFramework.Fonts - v2.0 - 512 + net5.0 + MetroFrameworkDesignAssembly.Title + MetroFrameworkDesignAssembly.Company + MetroFrameworkDesignAssembly.Product + MetroFrameworkDesignAssembly.Description + MetroFrameworkDesignAssembly.Copyright + 1.4.5 + 1.4.5 + bin\$(Configuration)\ - true full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 pdbonly - true - bin\Release\ - TRACE - prompt - 4 x86 @@ -36,17 +23,6 @@ ..\MetroFramework.snk - - - - - - - - - - - @@ -54,17 +30,6 @@ - - {bb41ac8b-cbed-4387-a7e0-4567edb3f57f} - MetroFramework - + - - \ No newline at end of file diff --git a/MetroFramework.Fonts/Properties/AssemblyInfo.cs b/MetroFramework.Fonts/Properties/AssemblyInfo.cs index da5f3ee3..c6b523bc 100644 --- a/MetroFramework.Fonts/Properties/AssemblyInfo.cs +++ b/MetroFramework.Fonts/Properties/AssemblyInfo.cs @@ -3,18 +3,6 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle(MetroFrameworkDesignAssembly.Title)] -[assembly: AssemblyDescription(MetroFrameworkDesignAssembly.Description)] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany(MetroFrameworkDesignAssembly.Company)] -[assembly: AssemblyProduct(MetroFrameworkDesignAssembly.Product)] -[assembly: AssemblyCopyright(MetroFrameworkDesignAssembly.Copyright)] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -26,19 +14,6 @@ // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("639b45e3-11f9-4e52-8479-7b6f20a5ce98")] -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion(MetroFrameworkDesignAssembly.Version)] -[assembly: AssemblyFileVersion(MetroFrameworkDesignAssembly.Version)] - internal static class MetroFrameworkDesignAssembly { internal const string Title = "MetroFramework.Fonts.dll"; diff --git a/MetroFramework.sln b/MetroFramework.sln index 9562a521..78ac24ba 100644 --- a/MetroFramework.sln +++ b/MetroFramework.sln @@ -1,11 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.30723.0 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30225.117 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MetroFramework", "MetroFramework\MetroFramework.csproj", "{BB41AC8B-CBED-4387-A7E0-4567EDB3F57F}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MetroFramework.Demo", "MetroFramework.Demo\MetroFramework.Demo.csproj", "{AF988819-4618-4852-9506-C1D06D04F6B2}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MetroFramework", "MetroFramework\MetroFramework.csproj", "{BB41AC8B-CBED-4387-A7E0-4567EDB3F57F}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{9579AFCE-35B4-431F-9DC3-F85E4294D40C}" ProjectSection(SolutionItems) = preProject @@ -17,9 +15,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution README.md = README.md EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MetroFramework.Design", "MetroFramework.Design\MetroFramework.Design.csproj", "{7316584D-9A16-4280-A8AB-6D45198C6E4D}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MetroFramework.Design", "MetroFramework.Design\MetroFramework.Design.csproj", "{7316584D-9A16-4280-A8AB-6D45198C6E4D}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MetroFramework.Fonts", "MetroFramework.Fonts\MetroFramework.Fonts.csproj", "{5A2FCAE8-C2FA-41BD-90EA-16103EA07B26}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MetroFramework.Fonts", "MetroFramework.Fonts\MetroFramework.Fonts.csproj", "{5A2FCAE8-C2FA-41BD-90EA-16103EA07B26}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -35,15 +33,8 @@ Global {BB41AC8B-CBED-4387-A7E0-4567EDB3F57F}.Debug|x86.Build.0 = Debug|Any CPU {BB41AC8B-CBED-4387-A7E0-4567EDB3F57F}.Release|Any CPU.ActiveCfg = Release|Any CPU {BB41AC8B-CBED-4387-A7E0-4567EDB3F57F}.Release|Any CPU.Build.0 = Release|Any CPU - {BB41AC8B-CBED-4387-A7E0-4567EDB3F57F}.Release|x86.ActiveCfg = Release|x86 - {BB41AC8B-CBED-4387-A7E0-4567EDB3F57F}.Release|x86.Build.0 = Release|x86 - {AF988819-4618-4852-9506-C1D06D04F6B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AF988819-4618-4852-9506-C1D06D04F6B2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AF988819-4618-4852-9506-C1D06D04F6B2}.Debug|x86.ActiveCfg = Debug|Any CPU - {AF988819-4618-4852-9506-C1D06D04F6B2}.Debug|x86.Build.0 = Debug|Any CPU - {AF988819-4618-4852-9506-C1D06D04F6B2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AF988819-4618-4852-9506-C1D06D04F6B2}.Release|Any CPU.Build.0 = Release|Any CPU - {AF988819-4618-4852-9506-C1D06D04F6B2}.Release|x86.ActiveCfg = Release|Any CPU + {BB41AC8B-CBED-4387-A7E0-4567EDB3F57F}.Release|x86.ActiveCfg = Release|Any CPU + {BB41AC8B-CBED-4387-A7E0-4567EDB3F57F}.Release|x86.Build.0 = Release|Any CPU {7316584D-9A16-4280-A8AB-6D45198C6E4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {7316584D-9A16-4280-A8AB-6D45198C6E4D}.Debug|Any CPU.Build.0 = Debug|Any CPU {7316584D-9A16-4280-A8AB-6D45198C6E4D}.Debug|x86.ActiveCfg = Debug|Any CPU @@ -60,4 +51,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {D524576B-C017-48CF-A634-44F9531C21BD} + EndGlobalSection EndGlobal diff --git a/MetroFramework/Controls/MetroDropDownButton.cs b/MetroFramework/Controls/MetroDropDownButton.cs index b1d9a069..f956890f 100644 --- a/MetroFramework/Controls/MetroDropDownButton.cs +++ b/MetroFramework/Controls/MetroDropDownButton.cs @@ -40,7 +40,7 @@ namespace MetroFramework.Controls { [Designer("MetroFramework.Design.Controls.MetroDropDownButtonDesigner, " + AssemblyRef.MetroFrameworkDesignSN)] - [ToolboxBitmap(typeof(Button))] + [ToolboxBitmap(typeof(System.Windows.Forms.Button))] [DefaultEvent("Click")] public class MetroDropDownButton : MetroButton { @@ -62,7 +62,7 @@ public class MetroDropDownButton : MetroButton ContextMenuStrip m_SplitMenuStrip; - ContextMenu m_SplitMenu; + System.Windows.Controls.ContextMenu m_SplitMenu; TextFormatFlags textFormatFlags = TextFormatFlags.Default; #endregion @@ -89,30 +89,30 @@ public override ContextMenuStrip ContextMenuStrip } } - [DefaultValue(null)] - public ContextMenu SplitMenu - { - get { return m_SplitMenu; } - set - { - //remove the event handlers for the old SplitMenu - if (m_SplitMenu != null) - { - m_SplitMenu.Popup -= SplitMenu_Popup; - } - - //add the event handlers for the new SplitMenu - if (value != null) - { - ShowSplit = true; - value.Popup += SplitMenu_Popup; - } - else - ShowSplit = false; - - m_SplitMenu = value; - } - } + //[DefaultValue(null)] + //public System.Windows.Controls.ContextMenu SplitMenu + //{ + // get { return m_SplitMenu; } + // set + // { + // //remove the event handlers for the old SplitMenu + // if (m_SplitMenu != null) + // { + // m_SplitMenu.Popup -= SplitMenu_Popup; + // } + + // //add the event handlers for the new SplitMenu + // if (value != null) + // { + // ShowSplit = true; + // value.Popup += SplitMenu_Popup; + // } + // else + // ShowSplit = false; + + // m_SplitMenu = value; + // } + //} [DefaultValue(null)] public ContextMenuStrip SplitMenuStrip @@ -245,15 +245,15 @@ protected override void OnKeyDown(KeyEventArgs kevent) { if (showSplit) { - if (kevent.KeyCode.Equals(Keys.Down) && !isSplitMenuVisible) - { - ShowContextMenuStrip(); - } + //if (kevent.KeyCode.Equals(Keys.Down) && !isSplitMenuVisible) + //{ + // ShowContextMenuStrip(); + //} - else if (kevent.KeyCode.Equals(Keys.Space) && kevent.Modifiers == Keys.None) - { - State = PushButtonState.Pressed; - } + //else if (kevent.KeyCode.Equals(Keys.Space) && kevent.Modifiers == Keys.None) + //{ + // State = PushButtonState.Pressed; + //} } base.OnKeyDown(kevent); @@ -272,7 +272,7 @@ protected override void OnKeyUp(KeyEventArgs kevent) { if (MouseButtons == MouseButtons.None && !isSplitMenuVisible) { - ShowContextMenuStrip(); + //ShowContextMenuStrip(); } } @@ -343,18 +343,18 @@ protected override void OnMouseDown(MouseEventArgs e) return; } - //handle ContextMenu re-clicking the drop-down region to close the menu - if (m_SplitMenu != null && e.Button == MouseButtons.Left && !isMouseEntered) - skipNextOpen = true; + ////handle ContextMenu re-clicking the drop-down region to close the menu + //if (m_SplitMenu != null && e.Button == MouseButtons.Left && !isMouseEntered) + // skipNextOpen = true; - if (dropDownRectangle.Contains(e.Location) && !isSplitMenuVisible && e.Button == MouseButtons.Left) - { - ShowContextMenuStrip(); - } - else - { - State = PushButtonState.Pressed; - } + //if (dropDownRectangle.Contains(e.Location) && !isSplitMenuVisible && e.Button == MouseButtons.Left) + //{ + // ShowContextMenuStrip(); + //} + //else + //{ + // State = PushButtonState.Pressed; + //} } protected override void OnMouseUp(MouseEventArgs mevent) @@ -366,19 +366,19 @@ protected override void OnMouseUp(MouseEventArgs mevent) } // if the right button was released inside the button - if (mevent.Button == MouseButtons.Right && ClientRectangle.Contains(mevent.Location) && !isSplitMenuVisible) - { - ShowContextMenuStrip(); - } - else if (m_SplitMenuStrip == null && m_SplitMenu == null || !isSplitMenuVisible) - { - SetButtonDrawState(); + //if (mevent.Button == MouseButtons.Right && ClientRectangle.Contains(mevent.Location) && !isSplitMenuVisible) + //{ + // ShowContextMenuStrip(); + //} + //else if (m_SplitMenuStrip == null && m_SplitMenu == null || !isSplitMenuVisible) + //{ + // SetButtonDrawState(); - if (ClientRectangle.Contains(mevent.Location) && !dropDownRectangle.Contains(mevent.Location)) - { - OnClick(new EventArgs()); - } - } + // if (ClientRectangle.Contains(mevent.Location) && !dropDownRectangle.Contains(mevent.Location)) + // { + // OnClick(new EventArgs()); + // } + //} } protected override void OnPaint(PaintEventArgs pevent) @@ -763,27 +763,27 @@ internal static Rectangle AlignInRectangle(Rectangle outer, Size inner, System.D #region Helper Functions - private void ShowContextMenuStrip() - { - if (skipNextOpen) - { - // we were called because we're closing the context menu strip - // when clicking the dropdown button. - skipNextOpen = false; - return; - } - - State = PushButtonState.Pressed; - - if (m_SplitMenu != null) - { - m_SplitMenu.Show(this, new Point(0, Height)); - } - else if (m_SplitMenuStrip != null) - { - m_SplitMenuStrip.Show(this, new Point(0, Height), ToolStripDropDownDirection.BelowRight); - } - } + //private void ShowContextMenuStrip() + //{ + // if (skipNextOpen) + // { + // // we were called because we're closing the context menu strip + // // when clicking the dropdown button. + // skipNextOpen = false; + // return; + // } + + // State = PushButtonState.Pressed; + + // if (m_SplitMenu != null) + // { + // m_SplitMenu.Show(this, new Point(0, Height)); + // } + // else if (m_SplitMenuStrip != null) + // { + // m_SplitMenuStrip.Show(this, new Point(0, Height), ToolStripDropDownDirection.BelowRight); + // } + //} private void SetButtonDrawState() { diff --git a/MetroFramework/Controls/MetroListView.cs b/MetroFramework/Controls/MetroListView.cs index 7d0ac2c6..a4fd633e 100644 --- a/MetroFramework/Controls/MetroListView.cs +++ b/MetroFramework/Controls/MetroListView.cs @@ -820,7 +820,7 @@ public enum SortModifiers private CaseInsensitiveComparer ObjectCompare; private SortModifiers mySortModifier = SortModifiers.SortByText; - public SortModifiers _SortModifier + public SortModifiers SortModifier { set { diff --git a/MetroFramework/Controls/MetroTextBox.cs b/MetroFramework/Controls/MetroTextBox.cs index 2b1962e3..d3a14e26 100644 --- a/MetroFramework/Controls/MetroTextBox.cs +++ b/MetroFramework/Controls/MetroTextBox.cs @@ -32,7 +32,7 @@ namespace MetroFramework.Controls { [Designer("MetroFramework.Design.Controls.MetroTextBoxDesigner, " + AssemblyRef.MetroFrameworkDesignSN)] - public class MetroTextBox : Control, IMetroControl + public class MetroTextBox : System.Windows.Forms.Control, IMetroControl { #region Interface @@ -208,12 +208,12 @@ public string WaterMark set { baseTextBox.WaterMark = value; } } - private Image textBoxIcon = null; + private System.Drawing.Image textBoxIcon = null; [Browsable(true)] [EditorBrowsable(EditorBrowsableState.Always)] [DefaultValue(null)] [Category(MetroDefaults.PropertyCategory.Appearance)] - public Image Icon + public System.Drawing.Image Icon { get { return textBoxIcon; } set @@ -351,16 +351,6 @@ public bool WithError #region Routing Fields - public override ContextMenu ContextMenu - { - get { return baseTextBox.ContextMenu; } - set - { - ContextMenu = value; - baseTextBox.ContextMenu = value; - } - } - public override ContextMenuStrip ContextMenuStrip { get { return baseTextBox.ContextMenuStrip; } @@ -541,7 +531,7 @@ private void BaseTextBoxContextMenuStripChanged(object sender, EventArgs e) private void BaseTextBoxContextMenuChanged(object sender, EventArgs e) { - base.OnContextMenuChanged(e); + base.OnTextChanged(e); } private void BaseTextBoxClientSizeChanged(object sender, EventArgs e) @@ -831,7 +821,6 @@ private void AddEventHandler() baseTextBox.ChangeUICues += BaseTextBoxChangeUiCues; baseTextBox.Click += BaseTextBoxClick; baseTextBox.ClientSizeChanged += BaseTextBoxClientSizeChanged; - baseTextBox.ContextMenuChanged += BaseTextBoxContextMenuChanged; baseTextBox.ContextMenuStripChanged += BaseTextBoxContextMenuStripChanged; baseTextBox.CursorChanged += BaseTextBoxCursorChanged; diff --git a/MetroFramework/MetroFramework.csproj b/MetroFramework/MetroFramework.csproj index 468aa874..a618a1c1 100644 --- a/MetroFramework/MetroFramework.csproj +++ b/MetroFramework/MetroFramework.csproj @@ -1,26 +1,11 @@ - - + - Debug - AnyCPU 9.0.30729 - 2.0 - {BB41AC8B-CBED-4387-A7E0-4567EDB3F57F} - Library - Properties - MetroFramework - MetroFramework - v2.0 - 512 + net5.0 true ../MetroFramework.snk - - - - - 3.5 - - + + publish\ true Disk @@ -36,211 +21,83 @@ false false true + MetroFrameworkAssembly.Title + MetroFrameworkAssembly.Company + MetroFrameworkAssembly.Product + MetroFrameworkAssembly.Description + MetroFrameworkAssembly.Copyright + 1.4.5 + 1.4.5 + true - true full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - true + bin\$(Configuration)\ Auto none - true - bin\Release\ - TRACE - prompt - 4 + bin\$(Configuration)\ Off - true x86 - true - bin\x86\Debug\ - DEBUG;TRACE - true + bin\$(Platform)\$(Configuration)\ full - x86 - prompt MinimumRecommendedRules.ruleset - bin\x86\Release\ - TRACE - true - true - x86 + bin\$(Platform)\$(Configuration)\ Off - prompt MinimumRecommendedRules.ruleset - - - - - - - - - - - - - - - + Component - + Component - - Component - - - Component - - - Component - - - Component - - - Component - - - Component - - - Component - - - Component - - + + + + + + + + + MetroGrid.cs - - Component - - - Component - - - Component - - - Component - - - Component - - - Component - - - Component - - - Component - - - - Component - - - Component - - - Component - - - Component - - - Component - - - UserControl - - - - - - - - - - - - - - - - - - - - - Component - - - Component - - - - - Component - - - - - - - Form - - - Form - - - - - - - - Form - - + + + + + + + + + + + + + + + + + + + + + MetroMessageBoxControl.cs - - - - - - - - - - - - - - - - + True True Resources.resx - + True True Settings.settings @@ -254,30 +111,18 @@ - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - - + MetroGrid.cs Designer - + MetroTextBox.cs - + MetroMessageBoxControl.cs - + PublicResXFileCodeGenerator Resources.Designer.cs @@ -285,12 +130,33 @@ - - - \ No newline at end of file + + + + + + + + + + + + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\PresentationCore.dll + + + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\PresentationFramework.dll + + + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Configuration.ConfigurationManager.dll + + + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Windows.Forms.dll + + + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Windows.Forms.Design.dll + + + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Windows.Forms.Primitives.dll + + + diff --git a/MetroFramework/Properties/AssemblyInfo.cs b/MetroFramework/Properties/AssemblyInfo.cs index 30d4453f..44fe37f9 100644 --- a/MetroFramework/Properties/AssemblyInfo.cs +++ b/MetroFramework/Properties/AssemblyInfo.cs @@ -4,18 +4,6 @@ using System.Runtime.InteropServices; using System.Security; -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle(MetroFrameworkAssembly.Title)] -[assembly: AssemblyDescription(MetroFrameworkAssembly.Description)] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany(MetroFrameworkAssembly.Company)] -[assembly: AssemblyProduct(MetroFrameworkAssembly.Product)] -[assembly: AssemblyCopyright(MetroFrameworkAssembly.Copyright)] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. @@ -26,19 +14,6 @@ // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("9559a6f3-8cce-4644-a571-8aeeeb526094")] -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion(MetroFrameworkAssembly.Version)] -[assembly: AssemblyFileVersion(MetroFrameworkAssembly.Version)] - [assembly:AllowPartiallyTrustedCallers] [assembly: InternalsVisibleTo(MetroFramework.AssemblyRef.MetroFrameworkDesignIVT)] From cd7a1111a5b2e49712769b5b3036bb82240e0356 Mon Sep 17 00:00:00 2001 From: Alessandro Mandelli Date: Wed, 11 Nov 2020 17:12:53 +0100 Subject: [PATCH 2/3] Updated hintpaths --- .../MetroFramework.Design.csproj | 16 ++++++++-------- MetroFramework/MetroFramework.csproj | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/MetroFramework.Design/MetroFramework.Design.csproj b/MetroFramework.Design/MetroFramework.Design.csproj index cf1d1c19..0831d80a 100644 --- a/MetroFramework.Design/MetroFramework.Design.csproj +++ b/MetroFramework.Design/MetroFramework.Design.csproj @@ -25,8 +25,8 @@ ../MetroFramework.snk - - + + @@ -34,22 +34,22 @@ - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\PresentationCore.dll + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\PresentationCore.dll - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\PresentationFramework.dll + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\PresentationFramework.dll - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Configuration.ConfigurationManager.dll + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Configuration.ConfigurationManager.dll - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Windows.Forms.dll + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Windows.Forms.dll - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Windows.Forms.Design.dll + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Windows.Forms.Design.dll - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Windows.Forms.Primitives.dll + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Windows.Forms.Primitives.dll \ No newline at end of file diff --git a/MetroFramework/MetroFramework.csproj b/MetroFramework/MetroFramework.csproj index a618a1c1..b934a9d0 100644 --- a/MetroFramework/MetroFramework.csproj +++ b/MetroFramework/MetroFramework.csproj @@ -141,22 +141,22 @@ - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\PresentationCore.dll + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\PresentationCore.dll - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\PresentationFramework.dll + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\PresentationFramework.dll - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Configuration.ConfigurationManager.dll + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Configuration.ConfigurationManager.dll - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Windows.Forms.dll + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Windows.Forms.dll - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Windows.Forms.Design.dll + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Windows.Forms.Design.dll - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0-preview.6.20308.1\ref\net5.0\System.Windows.Forms.Primitives.dll + ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Windows.Forms.Primitives.dll From 1df0641b18130522610fdff2dd0bcd989a3bd94a Mon Sep 17 00:00:00 2001 From: Alessandro Mandelli Date: Thu, 12 Nov 2020 21:24:01 +0100 Subject: [PATCH 3/3] Commit review changes --- .../MetroFramework.Design.csproj | 22 +------------- .../MetroFramework.Fonts.csproj | 2 +- .../Controls/MetroDropDownButton.cs | 3 +- MetroFramework/MetroFramework.csproj | 29 ++++--------------- 4 files changed, 9 insertions(+), 47 deletions(-) diff --git a/MetroFramework.Design/MetroFramework.Design.csproj b/MetroFramework.Design/MetroFramework.Design.csproj index 0831d80a..07c08095 100644 --- a/MetroFramework.Design/MetroFramework.Design.csproj +++ b/MetroFramework.Design/MetroFramework.Design.csproj @@ -1,6 +1,6 @@  - net5.0 + net5.0-windows MetroFrameworkDesignAssembly.Title MetroFrameworkDesignAssembly.Company MetroFrameworkDesignAssembly.Product @@ -32,24 +32,4 @@ - - - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\PresentationCore.dll - - - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\PresentationFramework.dll - - - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Configuration.ConfigurationManager.dll - - - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Windows.Forms.dll - - - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Windows.Forms.Design.dll - - - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Windows.Forms.Primitives.dll - - \ No newline at end of file diff --git a/MetroFramework.Fonts/MetroFramework.Fonts.csproj b/MetroFramework.Fonts/MetroFramework.Fonts.csproj index a901553e..1633d23f 100644 --- a/MetroFramework.Fonts/MetroFramework.Fonts.csproj +++ b/MetroFramework.Fonts/MetroFramework.Fonts.csproj @@ -1,6 +1,6 @@ - net5.0 + net5.0-windows MetroFrameworkDesignAssembly.Title MetroFrameworkDesignAssembly.Company MetroFrameworkDesignAssembly.Product diff --git a/MetroFramework/Controls/MetroDropDownButton.cs b/MetroFramework/Controls/MetroDropDownButton.cs index f956890f..9b326692 100644 --- a/MetroFramework/Controls/MetroDropDownButton.cs +++ b/MetroFramework/Controls/MetroDropDownButton.cs @@ -62,7 +62,8 @@ public class MetroDropDownButton : MetroButton ContextMenuStrip m_SplitMenuStrip; - System.Windows.Controls.ContextMenu m_SplitMenu; + //System.Windows.Controls.ContextMenu m_SplitMenu; + //Unused variable, class not found TextFormatFlags textFormatFlags = TextFormatFlags.Default; #endregion diff --git a/MetroFramework/MetroFramework.csproj b/MetroFramework/MetroFramework.csproj index b934a9d0..25832942 100644 --- a/MetroFramework/MetroFramework.csproj +++ b/MetroFramework/MetroFramework.csproj @@ -1,7 +1,8 @@ - + 9.0.30729 - net5.0 + net5.0-windows + true true ../MetroFramework.snk @@ -135,28 +136,8 @@ - - + + - - - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\PresentationCore.dll - - - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\PresentationFramework.dll - - - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Configuration.ConfigurationManager.dll - - - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Windows.Forms.dll - - - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Windows.Forms.Design.dll - - - ..\..\..\..\..\..\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\5.0.0\ref\net5.0\System.Windows.Forms.Primitives.dll - -