private void menuItem5_Click(object sender, EventArgs e) { if (Derma.GetPanels().Count > 0) { DialogResult reply = MessageBox.Show("Are you sure you want to open a saved project?\nAny unsaved data in the current project will be lost.", "Open project", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation); if (reply != DialogResult.Yes) { return; } } DSave.SetDialogDefaults(); Derma.prop.propertyGrid.SelectedObject = null; OpenDialog.ShowDialog(); }
private void menuItem8_Click(object sender, EventArgs e) { DSave.SetDialogDefaults(); SaveDialog.ShowDialog(); }