예제 #1
0
        public EntityClassGraphForm(EntityClassGraph entityClassGraph)
        {
            DpiHelper.FixFont(this);
            InitializeComponent();

            LoadTree(entityClassGraph);

            //The user will want to always expand the System.Entity node, so let's do it for them.
            entityClassGraphTreeView.Nodes[0].Expand();
        }
예제 #2
0
        public MainForm()
        {
            DpiHelper.FixFont(this);
            InitializeComponent();

            InitializeDockPanel();
            SetEntityGroupingMode((EntityGroupingMode)Enum.Parse(typeof(EntityGroupingMode),
                                                                 Settings.Default.EntityGroupingMode));

            startTimer.Enabled = true;

            SubscriptionManager = new SubscriptionManager();
            AssignConnectionsDataSource();
            modifiedEditors1.Parent = this;
        }
예제 #3
0
        public NewConnection()
        {
            DpiHelper.FixFont(this);
            InitializeComponent();

            cmbServer.Items.AddRange(ConnectionHistory.PreviousServers);
            cmbServer.SelectedIndex = 0;

            cmbServerType.DisplayMember = "Type";
            cmbServerType.Items.AddRange(ConnectionInfo.AvailableServerTypes.ToArray());
            cmbServerType.SelectedIndex = Math.Max(0, ConnectionInfo.AvailableServerTypes.FindIndex(s => s.Type.Equals(ConnectionHistory.PreviousServerType, StringComparison.OrdinalIgnoreCase)));
            cmbUserName.Items.AddRange(ConnectionHistory.PreviousUserNames);
            cmbUserName.SelectedIndex = 0;

            CheckIfUserCredentialsNecessary();
        }
예제 #4
0
 public DocumentationContent()
 {
     DpiHelper.FixFont(this);
     InitializeComponent();
 }
예제 #5
0
 public TabTemplate()
 {
     DpiHelper.FixFont(this);
 }