private Controls.EditBox GetCommentTextBox()
 {
     var editBox = new Controls.EditBox
     {
         Width = 200,
         AutoSize = false,
         Margin = new Padding(2)
     };
     return editBox;
 }
Esempio n. 2
0
        private Controls.EditBox GetCommentTextBox()
        {
            var editBox = new Controls.EditBox
            {
                Width    = 200,
                AutoSize = false,
                Margin   = new Padding(2)
            };

            return(editBox);
        }
Esempio n. 3
0
        private void InitSettings()
        {
            var enableDatabaseSupport = new CheckBoxDisabledNoCheck("&Enable Database Support");
            base.Controls.Add(enableDatabaseSupport);
            base.Controls.Add(JetBrains.UI.Options.Helpers.Controls.Separator.DefaultHeight);

            base.Controls.Add(new Controls.Label("Database connection string (MSSQL 2005 support only)"));
            var directoryBox = new Controls.EditBox();
            base.Controls.Add(directoryBox);

            base.AddRef(new PropertyBinding<bool, bool>(this.databaseEnabled, enableDatabaseSupport.CheckedLogicallyProperty, DataFlowDirection.BothWays));
            base.AddRef(new PropertyBinding<string, string>(this.connectionString, directoryBox.Text, DataFlowDirection.BothWays));
        }