forked from Perfare/AssetStudio
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6aa5b67
commit 3c83e8e
Showing
6 changed files
with
124 additions
and
25 deletions.
There are no files selected for viewing
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
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,34 @@ | ||
using System.Windows.Forms; | ||
using System.Drawing; | ||
|
||
public class DonateForm : Form | ||
{ | ||
public DonateForm() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
private void InitializeComponent() | ||
{ | ||
this.Icon = global::AssetStudioGUI.Properties.Resources._as; | ||
this.Size = new Size(613, 420); | ||
this.Text = "Donate to AssetStudio"; | ||
|
||
Label label = new Label(); | ||
label.Text = "AssetStudio is a free and open-source software.\nIf you like it and find it helpful, you can buy me a coffee!"; | ||
label.AutoSize = false; | ||
label.Size = new Size(613, 50); | ||
label.Location = new Point(10, 10); | ||
label.Font = new Font(label.Font.FontFamily, 12, FontStyle.Regular); | ||
label.Padding = new Padding(0, 5, 0, 5); | ||
|
||
PictureBox pictureBox = new PictureBox(); | ||
pictureBox.Size = new Size(573, 306); | ||
pictureBox.Location = new Point(10, 60); | ||
pictureBox.SizeMode = PictureBoxSizeMode.StretchImage; | ||
pictureBox.Image = global::AssetStudioGUI.Properties.Resources.donate; | ||
|
||
this.Controls.Add(label); | ||
this.Controls.Add(pictureBox); | ||
} | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.