/// <summary> /// Creates a new instance of the option dialog and shows it to the user. /// </summary> public void ShowMoreOptionsDialog() { NaviOptionsForm form = new NaviOptionsForm(); form.Initialize(Bar); if (form.ShowDialog() == DialogResult.OK) { Bar.PerformLayout(); } }