private void cmdGetRoots_Click(object sender, EventArgs e) { int truncate = 0; int smallset = 0; if (chkCleanRoots.Checked) { truncate = 1; } if (chkSmallSet.Checked) { truncate = 1; } RootFinder rtFind = new RootFinder(truncate, smallset); if (rtFind.GetRoots() > 0) { MessageBox.Show(rtFind.ErrMes); return; } rtFind.WriteRoots(); if (rtFind.LoadRoots() > 0) { MessageBox.Show(rtFind.ErrMes); return; } MessageBox.Show("Success Loading Roots!"); }
private void cmdGetRootTest_Click(object sender, EventArgs e) { RootFinder rtFind = new RootFinder(0, 0); rtFind.GetCoinGithubRoot("", "", ""); }