/// <summary>
 /// Initializes a new instance of the <see cref="SchemaSelectionPanel"/> class.
 /// </summary>
 public SchemaSelectionPanel()
 {
     InitializeComponent();
     AdjustColorsForColorTheme(false, null);
     DisplaySchemaCollationsToolStripMenuItem.Checked = Settings.Default.SchemasDisplayCollations;
     SetItemsAppearance(false);
     InheritFontToControlsExceptionList.Add(SelectSchemaHotLabel.Name);
     InheritFontToControlsExceptionList.Add(CreateNewSchemaHotLabel.Name);
     LoadedSchemas = new List <DbSchema>();
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="SchemaSelectionPanel"/> class.
        /// </summary>
        public SchemaSelectionPanel()
        {
            _systemSchemasListValues = new[] { "mysql", "information_schema", "performance_schema" };
            InitializeComponent();

            DisplaySchemaCollationsToolStripMenuItem.Checked = Settings.Default.SchemasDisplayCollations;
            SetItemsAppearance(false);
            ConnectionNameLabel.Paint += Label_Paint;
            UserIPLabel.Paint         += Label_Paint;
            InheritFontToControlsExceptionList.Add(SelectSchemaHotLabel.Name);
            InheritFontToControlsExceptionList.Add(CreateNewSchemaHotLabel.Name);
            LoadedSchemas = new List <DbSchema>();
        }
예제 #3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="WelcomePanel"/> class.
        /// </summary>
        public WelcomePanel()
        {
            InitializeComponent();

            InheritFontToControlsExceptionList.Add(OpenConnectionHotLabel.Name);
            InheritFontToControlsExceptionList.Add(NewConnectionHotLabel.Name);
            InheritFontToControlsExceptionList.Add(ManageConnectionsHotLabel.Name);

            DoubleBuffered = true;
            ManageConnectionsHotLabel.Enabled = MySqlWorkbench.AllowsExternalConnectionsManagement;
            ConnectionsList.AddHeaderNode("Local Connections");
            ConnectionsList.AddHeaderNode("Remote Connections");
            LoadConnections(false);
        }
예제 #4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="WelcomePanel"/> class.
        /// </summary>
        public WelcomePanel()
        {
            InitializeComponent();

            LargeImagesList.Images.Add("Connection_SSH-Disabled.png", Resources.Connection_SSH.ToGrayscale());
            LargeImagesList.Images.Add("Connection_X_32x32-Disabled.png", Resources.Connection_X_32x32.ToGrayscale());

            InheritFontToControlsExceptionList.Add(OpenConnectionHotLabel.Name);
            InheritFontToControlsExceptionList.Add(NewConnectionHotLabel.Name);
            InheritFontToControlsExceptionList.Add(ManageConnectionsHotLabel.Name);

            DoubleBuffered = true;
            ManageConnectionsHotLabel.Enabled = MySqlWorkbench.AllowsExternalConnectionsManagement;
            ConnectionsList.AddHeaderNode("Local Connections");
            ConnectionsList.AddHeaderNode("Remote Connections");
            LoadConnections(false);
        }