private void openBombe_Click(object sender, EventArgs e) { BombeApp loadedFile; if (pathField == null) { loadedFile = new BombeApp(); loadedFile.Show(); return; } loadedFile = new BombeApp(pathField); loadedFile.Show(); }
private void loadFile_Click(object sender, EventArgs e) { fileApp = new BombeApp(); fileApp.Show(); }