Skip to content

Commit

Permalink
0.1.1 Beta 2
Browse files Browse the repository at this point in the history
  • Loading branch information
n1d3v committed May 18, 2024
1 parent c0c54e7 commit fb1a33b
Show file tree
Hide file tree
Showing 12 changed files with 2,923 additions and 216 deletions.
88 changes: 88 additions & 0 deletions Naticord/Loading.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions Naticord/Loading.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace Naticord
{
public partial class Loading : Form
{
private Naticord parentForm;
private Random random = new Random();
private List<string> quotes = new List<string>
{
"Loading...",
"AAAAAAAAAAAAAAAAAAAAA",
"why the fuck does this function NOT WORK - pat",
"chicken cheese nugget",
"how was your day",
"cool beans",
"fkjsdfgkjsdfjklsdjgklwdf ui9egrhui",
"i have severe brain damage afte reading this code - pat"
};

public Loading(Naticord parentForm)
{
InitializeComponent();
this.parentForm = parentForm;
}

public void UpdateProgress(string message, int progress)
{
loadingQuotes.Text = message;
loadingProgress.Value = progress;
}

private void Loading_Shown(object sender, EventArgs e)
{
// Start loading process when the form is shown
//parentForm.StartLoading();
}

private string GetRandomQuote()
{
return quotes[random.Next(quotes.Count)];
}
}
}
Loading

0 comments on commit fb1a33b

Please sign in to comment.