7 changed files with 173 additions and 186 deletions
@ -1,73 +1,72 @@ |
|||||
namespace OpenIddict.Sandbox.WinForms.Client |
namespace OpenIddict.Sandbox.WinForms.Client; |
||||
|
|
||||
|
partial class MainForm |
||||
{ |
{ |
||||
partial class MainForm |
/// <summary>
|
||||
{ |
/// Required designer variable.
|
||||
/// <summary>
|
/// </summary>
|
||||
/// Required designer variable.
|
private System.ComponentModel.IContainer components = null; |
||||
/// </summary>
|
|
||||
private System.ComponentModel.IContainer components = null; |
|
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// Clean up any resources being used.
|
/// Clean up any resources being used.
|
||||
/// </summary>
|
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing) |
protected override void Dispose(bool disposing) |
||||
|
{ |
||||
|
if (disposing && (components != null)) |
||||
{ |
{ |
||||
if (disposing && (components != null)) |
components.Dispose(); |
||||
{ |
|
||||
components.Dispose(); |
|
||||
} |
|
||||
base.Dispose(disposing); |
|
||||
} |
} |
||||
|
base.Dispose(disposing); |
||||
|
} |
||||
|
|
||||
#region Windows Form Designer generated code
|
#region Windows Form Designer generated code
|
||||
|
|
||||
/// <summary>
|
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
/// </summary>
|
||||
private void InitializeComponent() |
private void InitializeComponent() |
||||
{ |
{ |
||||
this.LocalLogin = new System.Windows.Forms.Button(); |
this.LocalLogin = new System.Windows.Forms.Button(); |
||||
this.GitHubLogin = new System.Windows.Forms.Button(); |
this.GitHubLogin = new System.Windows.Forms.Button(); |
||||
this.SuspendLayout(); |
this.SuspendLayout(); |
||||
//
|
//
|
||||
// LocalLogin
|
// LocalLogin
|
||||
//
|
//
|
||||
this.LocalLogin.Location = new System.Drawing.Point(258, 93); |
this.LocalLogin.Location = new System.Drawing.Point(258, 93); |
||||
this.LocalLogin.Name = "LocalLogin"; |
this.LocalLogin.Name = "LocalLogin"; |
||||
this.LocalLogin.Size = new System.Drawing.Size(283, 83); |
this.LocalLogin.Size = new System.Drawing.Size(283, 83); |
||||
this.LocalLogin.TabIndex = 0; |
this.LocalLogin.TabIndex = 0; |
||||
this.LocalLogin.Text = "Log in using the local server"; |
this.LocalLogin.Text = "Log in using the local server"; |
||||
this.LocalLogin.UseVisualStyleBackColor = true; |
this.LocalLogin.UseVisualStyleBackColor = true; |
||||
this.LocalLogin.Click += new System.EventHandler(this.LocalLoginButton_Click); |
this.LocalLogin.Click += new System.EventHandler(this.LocalLoginButton_Click); |
||||
//
|
//
|
||||
// GitHubLogin
|
// GitHubLogin
|
||||
//
|
//
|
||||
this.GitHubLogin.Location = new System.Drawing.Point(258, 258); |
this.GitHubLogin.Location = new System.Drawing.Point(258, 258); |
||||
this.GitHubLogin.Name = "GitHubLogin"; |
this.GitHubLogin.Name = "GitHubLogin"; |
||||
this.GitHubLogin.Size = new System.Drawing.Size(283, 83); |
this.GitHubLogin.Size = new System.Drawing.Size(283, 83); |
||||
this.GitHubLogin.TabIndex = 1; |
this.GitHubLogin.TabIndex = 1; |
||||
this.GitHubLogin.Text = "Log in using GitHub"; |
this.GitHubLogin.Text = "Log in using GitHub"; |
||||
this.GitHubLogin.UseVisualStyleBackColor = true; |
this.GitHubLogin.UseVisualStyleBackColor = true; |
||||
this.GitHubLogin.Click += new System.EventHandler(this.GitHubLoginButton_Click); |
this.GitHubLogin.Click += new System.EventHandler(this.GitHubLoginButton_Click); |
||||
//
|
//
|
||||
// MainForm
|
// MainForm
|
||||
//
|
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
||||
this.ClientSize = new System.Drawing.Size(800, 450); |
this.ClientSize = new System.Drawing.Size(800, 450); |
||||
this.Controls.Add(this.GitHubLogin); |
this.Controls.Add(this.GitHubLogin); |
||||
this.Controls.Add(this.LocalLogin); |
this.Controls.Add(this.LocalLogin); |
||||
this.Name = "MainForm"; |
this.Name = "MainForm"; |
||||
this.Text = "OpenIddict WinForms client"; |
this.Text = "OpenIddict WinForms client"; |
||||
this.ResumeLayout(false); |
this.ResumeLayout(false); |
||||
|
|
||||
} |
} |
||||
|
|
||||
#endregion
|
#endregion
|
||||
|
|
||||
private Button LocalLogin; |
private Button LocalLogin; |
||||
private Button GitHubLogin; |
private Button GitHubLogin; |
||||
} |
|
||||
} |
} |
||||
@ -1,8 +1,7 @@ |
|||||
using System.Windows; |
using System.Windows; |
||||
|
|
||||
namespace OpenIddict.Sandbox.Wpf.Client |
namespace OpenIddict.Sandbox.Wpf.Client; |
||||
|
|
||||
|
public partial class App : Application |
||||
{ |
{ |
||||
public partial class App : Application |
|
||||
{ |
|
||||
} |
|
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue