private void mnuOpenRom_Click(object sender, System.EventArgs e) { //Obtenir le fichier a ouvrir OpenFileDialog openFile = new OpenFileDialog(); openFile.Title = "Choisir le fichier à ouvrir"; openFile.Filter = "Tous les Fichiers (*.*)|*.*"; openFile.CheckFileExists = true; openFile.CheckPathExists = true; openFile.ShowDialog(this); string filename = openFile.FileName; if (filename != "") { hexaFileShow1.LoadFile(filename); } }
private void button13_Click(object sender, System.EventArgs e) { hexaFileShow1.LoadFile("ff2.smc"); }