Ejemplo n.º 1
0
        private void openToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Displays an OpenFileDialog so the user can select a Cursor.
            OpenFileDialog openFileDialog1 = new OpenFileDialog();

            openFileDialog1.Filter = "MD380 Files|*.rdt";
            openFileDialog1.Title  = "Select a MD380 File";

            // Show the Dialog.
            // If the user clicked OK in the dialog and
            // a .rdt file was selected, open it.
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                MD380Data.initData(openFileDialog1.OpenFile());
                refreshScreens();
            }
        }
Ejemplo n.º 2
0
 private void CheckFiles()
 {
     MessageBox.Show("Result: " + MD380Data.checkData().ToString(), "Check Results", MessageBoxButtons.OK, MessageBoxIcon.Information);
 }