예제 #1
0
    private void B_Save_Click(object sender, EventArgs e)
    {
        // If we should, set values.
        if (!WasEmpty || !IsEmpty())
        {
            for (int i = 0; i < TaskNUPs.Length; i++)
            {
                Dex.SetResearchTaskProgressByForce(Species, TaskTypes[i], (int)TaskNUPs[i].Value, TaskIndexes[i]);
            }
        }

        Origin.CopyChangesFrom(SAV);
        Close();
    }
예제 #2
0
 private void B_Save_Click(object sender, EventArgs e)
 {
     SetEntry(lastIndex, lastForm);
     Origin.CopyChangesFrom(SAV);
     Close();
 }