// // save and load data // public bool Save() { try { REGISTRY.SetData(FORM_ID.ToString(), new FormData(this)); return(true); } catch { return(false); } }
// // Sure Dialog // private void yesButton_Click(object sender, EventArgs e) { REGISTRY.Delete(FORM_ID.ToString()); Program.EmptySlots.Enqueue(FORM_ID); this.Close(); }