mirror of
https://github.com/dgis/xsddiagram.git
synced 2024-10-26 18:49:35 +03:00
4b1f230cdc
- Accept all kind of https certificates when the xsd dependencies (import or include) point to a TLS/SSL url. - Prompt the user to authenticate when the xsd dependencies (import or include) point toward a secured url. - Add the corresponding command line "-u USERNAME" and "-p PASSWORD" options to authenticate the url download. - It is now possible to drag'n drop an url pointing to a xsd file on the main window. Merge branch 'master' of https://github.com/dgis/xsddiagram Conflicts: ReadMe.txt
144 lines
6.6 KiB
C#
144 lines
6.6 KiB
C#
namespace XSDDiagram
|
|
{
|
|
partial class LoginPromptForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoginPromptForm));
|
|
this.buttonOK = new System.Windows.Forms.Button();
|
|
this.buttonCancel = new System.Windows.Forms.Button();
|
|
this.textBoxUsername = new System.Windows.Forms.TextBox();
|
|
this.textBoxPassword = new System.Windows.Forms.TextBox();
|
|
this.labelUsername = new System.Windows.Forms.Label();
|
|
this.labelPassword = new System.Windows.Forms.Label();
|
|
this.textBoxLabel = new System.Windows.Forms.TextBox();
|
|
this.SuspendLayout();
|
|
//
|
|
// buttonOK
|
|
//
|
|
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.buttonOK.Location = new System.Drawing.Point(64, 152);
|
|
this.buttonOK.Name = "buttonOK";
|
|
this.buttonOK.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonOK.TabIndex = 4;
|
|
this.buttonOK.Text = "&OK";
|
|
this.buttonOK.UseVisualStyleBackColor = true;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.buttonCancel.Location = new System.Drawing.Point(145, 152);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonCancel.TabIndex = 5;
|
|
this.buttonCancel.Text = "&Cancel";
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
//
|
|
// textBoxUsername
|
|
//
|
|
this.textBoxUsername.Location = new System.Drawing.Point(98, 90);
|
|
this.textBoxUsername.Name = "textBoxUsername";
|
|
this.textBoxUsername.Size = new System.Drawing.Size(174, 20);
|
|
this.textBoxUsername.TabIndex = 1;
|
|
//
|
|
// textBoxPassword
|
|
//
|
|
this.textBoxPassword.Location = new System.Drawing.Point(98, 116);
|
|
this.textBoxPassword.Name = "textBoxPassword";
|
|
this.textBoxPassword.Size = new System.Drawing.Size(174, 20);
|
|
this.textBoxPassword.TabIndex = 3;
|
|
this.textBoxPassword.UseSystemPasswordChar = true;
|
|
//
|
|
// labelUsername
|
|
//
|
|
this.labelUsername.AutoSize = true;
|
|
this.labelUsername.Location = new System.Drawing.Point(12, 93);
|
|
this.labelUsername.Name = "labelUsername";
|
|
this.labelUsername.Size = new System.Drawing.Size(55, 13);
|
|
this.labelUsername.TabIndex = 0;
|
|
this.labelUsername.Text = "&Username";
|
|
//
|
|
// labelPassword
|
|
//
|
|
this.labelPassword.AutoSize = true;
|
|
this.labelPassword.Location = new System.Drawing.Point(12, 119);
|
|
this.labelPassword.Name = "labelPassword";
|
|
this.labelPassword.Size = new System.Drawing.Size(53, 13);
|
|
this.labelPassword.TabIndex = 2;
|
|
this.labelPassword.Text = "&Password";
|
|
//
|
|
// textBoxLabel
|
|
//
|
|
this.textBoxLabel.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.textBoxLabel.Location = new System.Drawing.Point(15, 13);
|
|
this.textBoxLabel.Multiline = true;
|
|
this.textBoxLabel.Name = "textBoxLabel";
|
|
this.textBoxLabel.ReadOnly = true;
|
|
this.textBoxLabel.Size = new System.Drawing.Size(257, 71);
|
|
this.textBoxLabel.TabIndex = 6;
|
|
this.textBoxLabel.TabStop = false;
|
|
//
|
|
// LoginPromptForm
|
|
//
|
|
this.AcceptButton = this.buttonOK;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.buttonCancel;
|
|
this.ClientSize = new System.Drawing.Size(284, 187);
|
|
this.Controls.Add(this.textBoxLabel);
|
|
this.Controls.Add(this.labelPassword);
|
|
this.Controls.Add(this.labelUsername);
|
|
this.Controls.Add(this.textBoxPassword);
|
|
this.Controls.Add(this.textBoxUsername);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.buttonOK);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "LoginPromptForm";
|
|
this.ShowInTaskbar = false;
|
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "Authentication Required";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button buttonOK;
|
|
private System.Windows.Forms.Button buttonCancel;
|
|
private System.Windows.Forms.TextBox textBoxUsername;
|
|
private System.Windows.Forms.TextBox textBoxPassword;
|
|
private System.Windows.Forms.Label labelUsername;
|
|
private System.Windows.Forms.Label labelPassword;
|
|
private System.Windows.Forms.TextBox textBoxLabel;
|
|
}
|
|
} |