
        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            openFileDialog1.Filter = "All Files |*.*";
            openFileDialog1.ShowDialog();
            axMMControl1.Command = "Close";
            if (openFileDialog1.FileName != "")
            {
                int l = openFileDialog1.FileName.Length;
                string ext = openFileDialog1.FileName.Substring(l - 3, 3).ToUpper();
                Select_Device(ext);
                axMMControl1.FileName = openFileDialog1.FileName;
                axMMControl1.Notify = true;
                axMMControl1.Wait = true;
                axMMControl1.Shareable = false;
                axMMControl1.Command = "Close";
                axMMControl1.Command = "Open";
                playToolStripMenuItem.Enabled = true;
                nextToolStripMenuItem.Enabled = true;
                backToolStripMenuItem.Enabled = true;
                stepToolStripMenuItem.Enabled = true;
            }

        }

 
