Ejemplo n.º 1
0
        private void editSequencePropertiesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewSequenceForm nsf = new NewSequenceForm(_sequence);

            if (nsf.ShowDialog() == DialogResult.OK)
            {
                _sequence = nsf.Sequence;
                SaveSequence();
                CreateSequence();
                RedrawSequence();
            }
        }
Ejemplo n.º 2
0
        private void NewSequence()
        {
            if (CheckSave())
            {
                return;
            }

            NewSequenceForm nsf = new NewSequenceForm();

            if (nsf.ShowDialog() == DialogResult.OK)
            {
                _sequence = nsf.Sequence;

                CreateSequence();
                RedrawSequence();
            }
        }