Esempio n. 1
0
        private void openMSFToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (ofd1.ShowDialog() == DialogResult.Cancel)
            {
                return;
            }


            try
            {
                msf = new MSequence(ofd1.FileName);
            }
            catch (Exception)
            {
                MessageBox.Show("Error opening file", "File Error",
                                MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }

            updateSequenceInfoLabel();
            buildCubeList();
            buildCommandList();
            CreateGraph(zg1);
            pictureBox1.Visible = false;
            zg1.Visible         = true;
        }
Esempio n. 2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     msf = new MSequence();
     CreateGraph(zg1);
 }