/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     SanteDB.Core.Configuration.Data.ConnectionString connectionString1 = new SanteDB.Core.Configuration.Data.ConnectionString();
     this.label1       = new System.Windows.Forms.Label();
     this.btnOk        = new System.Windows.Forms.Button();
     this.btnCancel    = new System.Windows.Forms.Button();
     this.ucConnection = new SanteDB.Configuration.Controls.ucDatabaseSelector();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(12, 9);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(0, 13);
     this.label1.TabIndex = 1;
     //
     // btnOk
     //
     this.btnOk.Enabled  = false;
     this.btnOk.Location = new System.Drawing.Point(201, 273);
     this.btnOk.Name     = "btnOk";
     this.btnOk.Size     = new System.Drawing.Size(75, 23);
     this.btnOk.TabIndex = 15;
     this.btnOk.Text     = "Ok";
     this.btnOk.UseVisualStyleBackColor = true;
     this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(282, 273);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex                = 16;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // ucConnection
     //
     connectionString1.Name                  = null;
     connectionString1.Provider              = "";
     connectionString1.Value                 = "";
     this.ucConnection.ConnectionString      = connectionString1;
     this.ucConnection.Dock                  = System.Windows.Forms.DockStyle.Top;
     this.ucConnection.Location              = new System.Drawing.Point(0, 0);
     this.ucConnection.Name                  = "ucConnection";
     this.ucConnection.Size                  = new System.Drawing.Size(369, 267);
     this.ucConnection.TabIndex              = 0;
     this.ucConnection.ConfigurationChanged += new System.EventHandler(this.ucConnection_ConfigurationChanged);
     //
     // frmConnectionString
     //
     this.AcceptButton        = this.btnOk;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.btnCancel;
     this.ClientSize          = new System.Drawing.Size(369, 305);
     this.Controls.Add(this.btnOk);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.ucConnection);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmConnectionString";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "New Connection String";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     SanteDB.Core.Configuration.Data.ConnectionString connectionString1 = new SanteDB.Core.Configuration.Data.ConnectionString();
     System.ComponentModel.ComponentResourceManager   resources         = new System.ComponentModel.ComponentResourceManager(typeof(frmInitialConfig));
     this.pnlLogo     = new System.Windows.Forms.Panel();
     this.label1      = new System.Windows.Forms.Label();
     this.lblText     = new System.Windows.Forms.Label();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.rdoEasy     = new System.Windows.Forms.RadioButton();
     this.label2      = new System.Windows.Forms.Label();
     this.groupBox1   = new System.Windows.Forms.GroupBox();
     this.pnlSettings = new System.Windows.Forms.Panel();
     this.label4      = new System.Windows.Forms.Label();
     this.txtInstance = new System.Windows.Forms.TextBox();
     this.cbxTemplate = new System.Windows.Forms.ComboBox();
     this.label5      = new System.Windows.Forms.Label();
     this.dbSelector  = new SanteDB.Configuration.Controls.ucDatabaseSelector();
     this.btnContinue = new System.Windows.Forms.Button();
     this.btnCancel   = new System.Windows.Forms.Button();
     this.label3      = new System.Windows.Forms.Label();
     this.rdoAdvanced = new System.Windows.Forms.RadioButton();
     this.pnlLogo.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.pnlSettings.SuspendLayout();
     this.SuspendLayout();
     //
     // pnlLogo
     //
     this.pnlLogo.BackColor = System.Drawing.Color.White;
     this.pnlLogo.Controls.Add(this.label1);
     this.pnlLogo.Controls.Add(this.lblText);
     this.pnlLogo.Controls.Add(this.pictureBox1);
     this.pnlLogo.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pnlLogo.Location = new System.Drawing.Point(0, 0);
     this.pnlLogo.Name     = "pnlLogo";
     this.pnlLogo.Size     = new System.Drawing.Size(512, 70);
     this.pnlLogo.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(74, 38);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(426, 32);
     this.label1.TabIndex = 2;
     this.label1.Text     = "Welcome to SanteDB! Before you can run this service you have to configure the ser" +
                            "vice host";
     //
     // lblText
     //
     this.lblText.AutoSize = true;
     this.lblText.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblText.Location = new System.Drawing.Point(73, 18);
     this.lblText.Name     = "lblText";
     this.lblText.Size     = new System.Drawing.Size(166, 20);
     this.lblText.TabIndex = 1;
     this.lblText.Text     = "Initial Configuration";
     //
     // pictureBox1
     //
     this.pictureBox1.Dock         = System.Windows.Forms.DockStyle.Left;
     this.pictureBox1.Image        = global::SanteDB.Configurator.Properties.Resources.icon;
     this.pictureBox1.InitialImage = global::SanteDB.Configurator.Properties.Resources.icon;
     this.pictureBox1.Location     = new System.Drawing.Point(0, 0);
     this.pictureBox1.Name         = "pictureBox1";
     this.pictureBox1.Size         = new System.Drawing.Size(67, 70);
     this.pictureBox1.SizeMode     = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.pictureBox1.TabIndex     = 0;
     this.pictureBox1.TabStop      = false;
     //
     // rdoEasy
     //
     this.rdoEasy.AutoSize = true;
     this.rdoEasy.Checked  = true;
     this.rdoEasy.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.rdoEasy.Location = new System.Drawing.Point(12, 76);
     this.rdoEasy.Name     = "rdoEasy";
     this.rdoEasy.Size     = new System.Drawing.Size(226, 17);
     this.rdoEasy.TabIndex = 2;
     this.rdoEasy.TabStop  = true;
     this.rdoEasy.Text     = "Easy Configuration (Recommended)";
     this.rdoEasy.UseVisualStyleBackColor = true;
     this.rdoEasy.CheckedChanged         += new System.EventHandler(this.rdoEasy_CheckedChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(22, 96);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(478, 31);
     this.label2.TabIndex = 4;
     this.label2.Text     = "Select this option if you wish to use the default configuration parameters for th" +
                            "e SanteDB service and sub-services.";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.dbSelector);
     this.groupBox1.Controls.Add(this.pnlSettings);
     this.groupBox1.Location = new System.Drawing.Point(10, 130);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(490, 265);
     this.groupBox1.TabIndex = 6;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Database Parameters";
     //
     // pnlSettings
     //
     this.pnlSettings.Controls.Add(this.label4);
     this.pnlSettings.Controls.Add(this.label5);
     this.pnlSettings.Controls.Add(this.cbxTemplate);
     this.pnlSettings.Controls.Add(this.txtInstance);
     this.pnlSettings.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.pnlSettings.Location = new System.Drawing.Point(3, 192);
     this.pnlSettings.Name     = "pnlSettings";
     this.pnlSettings.Size     = new System.Drawing.Size(484, 70);
     this.pnlSettings.TabIndex = 7;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(3, 10);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(79, 13);
     this.label4.TabIndex = 2;
     this.label4.Text     = "Instance Name";
     //
     // txtInstance
     //
     this.txtInstance.Location = new System.Drawing.Point(88, 9);
     this.txtInstance.Name     = "txtInstance";
     this.txtInstance.Size     = new System.Drawing.Size(364, 20);
     this.txtInstance.TabIndex = 3;
     this.txtInstance.Text     = "SanteDB";
     //
     // cbxTemplate
     //
     this.cbxTemplate.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbxTemplate.FormattingEnabled = true;
     this.cbxTemplate.Location          = new System.Drawing.Point(88, 35);
     this.cbxTemplate.Name     = "cbxTemplate";
     this.cbxTemplate.Size     = new System.Drawing.Size(364, 21);
     this.cbxTemplate.TabIndex = 5;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(3, 38);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(51, 13);
     this.label5.TabIndex = 4;
     this.label5.Text     = "Template";
     //
     // dbSelector
     //
     connectionString1.Name                = null;
     connectionString1.Provider            = "";
     connectionString1.Value               = "";
     this.dbSelector.ConnectionString      = connectionString1;
     this.dbSelector.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.dbSelector.Location              = new System.Drawing.Point(3, 16);
     this.dbSelector.Name                  = "dbSelector";
     this.dbSelector.Size                  = new System.Drawing.Size(484, 176);
     this.dbSelector.TabIndex              = 1;
     this.dbSelector.ConfigurationChanged += new System.EventHandler(this.dbSelector_Configured);
     //
     // btnContinue
     //
     this.btnContinue.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnContinue.Enabled  = false;
     this.btnContinue.Location = new System.Drawing.Point(344, 461);
     this.btnContinue.Name     = "btnContinue";
     this.btnContinue.Size     = new System.Drawing.Size(75, 23);
     this.btnContinue.TabIndex = 9;
     this.btnContinue.Text     = "Continue";
     this.btnContinue.UseVisualStyleBackColor = true;
     this.btnContinue.Click += new System.EventHandler(this.btnContinue_Click);
     //
     // btnCancel
     //
     this.btnCancel.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(425, 461);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex                = 10;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click                  += new System.EventHandler(this.btnCancel_Click);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(34, 419);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(478, 31);
     this.label3.TabIndex = 12;
     this.label3.Text     = "Select this option if you wish configure the individual components that will run " +
                            "within this SanteDB instance";
     //
     // rdoAdvanced
     //
     this.rdoAdvanced.AutoSize = true;
     this.rdoAdvanced.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.rdoAdvanced.Location = new System.Drawing.Point(13, 399);
     this.rdoAdvanced.Name     = "rdoAdvanced";
     this.rdoAdvanced.Size     = new System.Drawing.Size(161, 17);
     this.rdoAdvanced.TabIndex = 11;
     this.rdoAdvanced.Text     = "Advanced Configuration";
     this.rdoAdvanced.UseVisualStyleBackColor = true;
     //
     // frmInitialConfig
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(512, 496);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.rdoAdvanced);
     this.Controls.Add(this.btnContinue);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.rdoEasy);
     this.Controls.Add(this.pnlLogo);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmInitialConfig";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Welcome to SanteDB";
     this.pnlLogo.ResumeLayout(false);
     this.pnlLogo.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.pnlSettings.ResumeLayout(false);
     this.pnlSettings.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }