private void button2_Click(object sender, EventArgs e) { SaveProto(); ProtoManager.SaveProtoAs(this.pc, this.pc.Id); if (this.parent != null) { parent.RefreshList(); } else { ProtoManager.Save(); } this.Close(); }
private void button1_Click(object sender, EventArgs e) { ProtoManager.Save(); this.Close(); }