private void editSequencePropertiesToolStripMenuItem_Click(object sender, EventArgs e) { NewSequenceForm nsf = new NewSequenceForm(_sequence); if (nsf.ShowDialog() == DialogResult.OK) { _sequence = nsf.Sequence; SaveSequence(); CreateSequence(); RedrawSequence(); } }
private void NewSequence() { if (CheckSave()) { return; } NewSequenceForm nsf = new NewSequenceForm(); if (nsf.ShowDialog() == DialogResult.OK) { _sequence = nsf.Sequence; CreateSequence(); RedrawSequence(); } }