|
@@ -0,0 +1,157 @@
|
|
|
+namespace CustomUrlSchemeRegistrationPoC
|
|
|
+{
|
|
|
+ partial class UriPocForm
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// 必需的设计器变量。
|
|
|
+ /// </summary>
|
|
|
+ private System.ComponentModel.IContainer components = null;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 清理所有正在使用的资源。
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
|
+ protected override void Dispose(bool disposing)
|
|
|
+ {
|
|
|
+ if (disposing && (components != null))
|
|
|
+ {
|
|
|
+ components.Dispose();
|
|
|
+ }
|
|
|
+ base.Dispose(disposing);
|
|
|
+ }
|
|
|
+
|
|
|
+ #region Windows 窗体设计器生成的代码
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 设计器支持所需的方法 - 不要修改
|
|
|
+ /// 使用代码编辑器修改此方法的内容。
|
|
|
+ /// </summary>
|
|
|
+ private void InitializeComponent()
|
|
|
+ {
|
|
|
+ this.InstallButton = new System.Windows.Forms.Button();
|
|
|
+ this.UninstallButton = new System.Windows.Forms.Button();
|
|
|
+ this.TryCallButton = new System.Windows.Forms.Button();
|
|
|
+ this.SchemeLabel = new System.Windows.Forms.Label();
|
|
|
+ this.SchemeTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.DisplayLabel = new System.Windows.Forms.Label();
|
|
|
+ this.DisplayTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.ArgsLabel = new System.Windows.Forms.Label();
|
|
|
+ this.TryCallArgsTextBox = new System.Windows.Forms.TextBox();
|
|
|
+ this.SuspendLayout();
|
|
|
+ //
|
|
|
+ // InstallButton
|
|
|
+ //
|
|
|
+ this.InstallButton.Location = new System.Drawing.Point(12, 99);
|
|
|
+ this.InstallButton.Name = "InstallButton";
|
|
|
+ this.InstallButton.Size = new System.Drawing.Size(90, 42);
|
|
|
+ this.InstallButton.TabIndex = 0;
|
|
|
+ this.InstallButton.Text = "Install";
|
|
|
+ this.InstallButton.UseVisualStyleBackColor = true;
|
|
|
+ this.InstallButton.Click += new System.EventHandler(this.InstallButton_Click);
|
|
|
+ //
|
|
|
+ // UninstallButton
|
|
|
+ //
|
|
|
+ this.UninstallButton.Location = new System.Drawing.Point(136, 99);
|
|
|
+ this.UninstallButton.Name = "UninstallButton";
|
|
|
+ this.UninstallButton.Size = new System.Drawing.Size(90, 42);
|
|
|
+ this.UninstallButton.TabIndex = 0;
|
|
|
+ this.UninstallButton.Text = "Uninstall";
|
|
|
+ this.UninstallButton.UseVisualStyleBackColor = true;
|
|
|
+ this.UninstallButton.Click += new System.EventHandler(this.UninstallButton_Click);
|
|
|
+ //
|
|
|
+ // TryCallButton
|
|
|
+ //
|
|
|
+ this.TryCallButton.Location = new System.Drawing.Point(260, 99);
|
|
|
+ this.TryCallButton.Name = "TryCallButton";
|
|
|
+ this.TryCallButton.Size = new System.Drawing.Size(90, 42);
|
|
|
+ this.TryCallButton.TabIndex = 0;
|
|
|
+ this.TryCallButton.Text = "Try Call";
|
|
|
+ this.TryCallButton.UseVisualStyleBackColor = true;
|
|
|
+ this.TryCallButton.Click += new System.EventHandler(this.TryCallButton_Click);
|
|
|
+ //
|
|
|
+ // SchemeLabel
|
|
|
+ //
|
|
|
+ this.SchemeLabel.AutoSize = true;
|
|
|
+ this.SchemeLabel.Location = new System.Drawing.Point(20, 15);
|
|
|
+ this.SchemeLabel.Name = "SchemeLabel";
|
|
|
+ this.SchemeLabel.Size = new System.Drawing.Size(71, 12);
|
|
|
+ this.SchemeLabel.TabIndex = 1;
|
|
|
+ this.SchemeLabel.Text = "URI Scheme:";
|
|
|
+ //
|
|
|
+ // SchemeTextBox
|
|
|
+ //
|
|
|
+ this.SchemeTextBox.Location = new System.Drawing.Point(109, 12);
|
|
|
+ this.SchemeTextBox.Name = "SchemeTextBox";
|
|
|
+ this.SchemeTextBox.Size = new System.Drawing.Size(242, 21);
|
|
|
+ this.SchemeTextBox.TabIndex = 2;
|
|
|
+ this.SchemeTextBox.Text = "MyUri";
|
|
|
+ //
|
|
|
+ // DisplayLabel
|
|
|
+ //
|
|
|
+ this.DisplayLabel.AutoSize = true;
|
|
|
+ this.DisplayLabel.Location = new System.Drawing.Point(20, 42);
|
|
|
+ this.DisplayLabel.Name = "DisplayLabel";
|
|
|
+ this.DisplayLabel.Size = new System.Drawing.Size(83, 12);
|
|
|
+ this.DisplayLabel.TabIndex = 1;
|
|
|
+ this.DisplayLabel.Text = "Display Name:";
|
|
|
+ //
|
|
|
+ // DisplayTextBox
|
|
|
+ //
|
|
|
+ this.DisplayTextBox.Location = new System.Drawing.Point(109, 39);
|
|
|
+ this.DisplayTextBox.Name = "DisplayTextBox";
|
|
|
+ this.DisplayTextBox.Size = new System.Drawing.Size(242, 21);
|
|
|
+ this.DisplayTextBox.TabIndex = 2;
|
|
|
+ this.DisplayTextBox.Text = "自定义 URI 协议";
|
|
|
+ //
|
|
|
+ // ArgsLabel
|
|
|
+ //
|
|
|
+ this.ArgsLabel.AutoSize = true;
|
|
|
+ this.ArgsLabel.Location = new System.Drawing.Point(19, 69);
|
|
|
+ this.ArgsLabel.Name = "ArgsLabel";
|
|
|
+ this.ArgsLabel.Size = new System.Drawing.Size(65, 12);
|
|
|
+ this.ArgsLabel.TabIndex = 1;
|
|
|
+ this.ArgsLabel.Text = "Call Args:";
|
|
|
+ //
|
|
|
+ // TryCallArgsTextBox
|
|
|
+ //
|
|
|
+ this.TryCallArgsTextBox.Location = new System.Drawing.Point(108, 66);
|
|
|
+ this.TryCallArgsTextBox.Name = "TryCallArgsTextBox";
|
|
|
+ this.TryCallArgsTextBox.Size = new System.Drawing.Size(242, 21);
|
|
|
+ this.TryCallArgsTextBox.TabIndex = 2;
|
|
|
+ this.TryCallArgsTextBox.Text = "ABCD 甲乙丙丁 1234";
|
|
|
+ //
|
|
|
+ // UriPocForm
|
|
|
+ //
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.ClientSize = new System.Drawing.Size(362, 153);
|
|
|
+ this.Controls.Add(this.TryCallArgsTextBox);
|
|
|
+ this.Controls.Add(this.ArgsLabel);
|
|
|
+ this.Controls.Add(this.DisplayTextBox);
|
|
|
+ this.Controls.Add(this.DisplayLabel);
|
|
|
+ this.Controls.Add(this.SchemeTextBox);
|
|
|
+ this.Controls.Add(this.SchemeLabel);
|
|
|
+ this.Controls.Add(this.TryCallButton);
|
|
|
+ this.Controls.Add(this.UninstallButton);
|
|
|
+ this.Controls.Add(this.InstallButton);
|
|
|
+ this.Name = "UriPocForm";
|
|
|
+ this.Text = "Custom URI Scheme Registration PoC";
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private System.Windows.Forms.Button InstallButton;
|
|
|
+ private System.Windows.Forms.Button UninstallButton;
|
|
|
+ private System.Windows.Forms.Button TryCallButton;
|
|
|
+ private System.Windows.Forms.Label SchemeLabel;
|
|
|
+ private System.Windows.Forms.TextBox SchemeTextBox;
|
|
|
+ private System.Windows.Forms.Label DisplayLabel;
|
|
|
+ private System.Windows.Forms.TextBox DisplayTextBox;
|
|
|
+ private System.Windows.Forms.Label ArgsLabel;
|
|
|
+ private System.Windows.Forms.TextBox TryCallArgsTextBox;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|