public frmProtoCritterEditor(frmCritterProtoList parent, int pcid, bool deleteOnExit) { this.deleteOnExit = deleteOnExit; this.parent = parent; this.pc = ProtoManager.Protos[pcid].DeepCopy(); InitializeComponent(); }
private void crittersProtoEditorToolStripMenuItem_Click(object sender, EventArgs e) { if (!ProtoManager.Initialized || !ParamsDefines.Initialized) { Message.Show("Proto Editor not initialized.", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } frmCritterProtoList form = new frmCritterProtoList(); form.ShowDialog(); }