Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Uploaded v1 of App
  • Loading branch information
xTheJakalx committed Jun 11, 2021
1 parent a29f261 commit 747e452
Show file tree
Hide file tree
Showing 23 changed files with 8,015 additions and 0 deletions.
25 changes: 25 additions & 0 deletions SimpleChiaPlotter.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30717.126
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleChiaPlotter", "SimpleChiaPlotter\SimpleChiaPlotter.csproj", "{CBD722D7-6213-49E2-8489-A6702F1B0E50}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{CBD722D7-6213-49E2-8489-A6702F1B0E50}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CBD722D7-6213-49E2-8489-A6702F1B0E50}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CBD722D7-6213-49E2-8489-A6702F1B0E50}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CBD722D7-6213-49E2-8489-A6702F1B0E50}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {44F943EB-1139-43BE-AE72-93821A21F309}
EndGlobalSection
EndGlobal
6 changes: 6 additions & 0 deletions SimpleChiaPlotter/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>
26 changes: 26 additions & 0 deletions SimpleChiaPlotter/Chia.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SimpleChiaPlotter
{
class Chia
{

// .\chia plots create -k %plotSize% -b %memory% -t %tempDir1% -2 %tempDir2% -d %targetDir%
public string Directory { get; set; }
public string Executable { get; set; }
public string PlotSize { get; set; }
public string Buckets { get; set; }
public string Threads { get; set; }
public string Memory { get; set; }
public string TotalPlots { get; set; }
public string FarmerPublicKey { get; set; }
public string PoolPublicKey { get; set; }
public string TempDir1 { get; set; }
public string TempDir2 { get; set; }
public string TargetDir { get; set; }
}
}
131 changes: 131 additions & 0 deletions SimpleChiaPlotter/FrmAbout.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 SimpleChiaPlotter/FrmAbout.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
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;

namespace SimpleChiaPlotter
{
public partial class FrmAbout : Form
{
public FrmAbout()
{
InitializeComponent();
}

private void linkLabelAuthor_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
try
{
VisitLink();
}
catch (Exception)
{
MessageBox.Show("Unable to open link that was clicked.");
}
}
private void VisitLink()
{
linkLabelAuthor.LinkVisited = true;
System.Diagnostics.Process.Start("https://github.com/xTheJakalx/SimpleChiaPlotter");
}
private void BuyMeACoffee()
{
System.Diagnostics.Process.Start("https://buymeacoffee.com/TheJakal");
}

private void btnBuyMeACoffee_Click(object sender, EventArgs e)
{
BuyMeACoffee();
}
}
}
Loading

0 comments on commit 747e452

Please sign in to comment.