This repository has been archived by the owner on Oct 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #99 Adds copy-paste dialog for pull-secret
- Loading branch information
Showing
7 changed files
with
148 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.ComponentModel; | ||
using System.Data; | ||
using System.Drawing; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Windows.Forms; | ||
using CRCTray.Helpers; | ||
|
||
namespace CRCTray | ||
{ | ||
public partial class PullSecretForm : Form | ||
{ | ||
|
||
public PullSecretForm() | ||
{ | ||
InitializeComponent(); | ||
|
||
PullSecret = String.Empty; | ||
} | ||
|
||
private void PullSecretPicker_Load(object sender, EventArgs e) | ||
{ | ||
Bitmap bm = new Bitmap(Resource.ocp_logo); | ||
Icon = Icon.FromHandle(bm.GetHicon()); | ||
} | ||
|
||
public String PullSecret | ||
{ | ||
get; | ||
set; | ||
} | ||
|
||
private void okButton_Click(object sender, EventArgs e) | ||
{ | ||
PullSecret = pullSecreTextbox.Text; | ||
Hide(); | ||
} | ||
} | ||
} |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.