protected void OnBtnEditLevelClicked(object sender, EventArgs e) { LevelDialog dlg = new LevelDialog(this, m_curRestData.key); dlg.Run(); dlg.Destroy(); }
private void buttonLevelBrowse_Click(object sender, EventArgs e) { // Show the dialog and get result. DialogResult result = LevelDialog.ShowDialog(); if (result == DialogResult.OK) // Test result. { worldFolder.Text = LevelDialog.SelectedPath; worldDir = LevelDialog.SelectedPath; configuration.IniWriteValue("Paths", "worldDir", LevelDialog.SelectedPath); } }
public void OnClickFromLevelId() { var ld = new LevelDialog(); ld.ShowDialog(); }