/// <summary> /// Properties context menu clicked. /// </summary> protected override void OnPropertiesClick(object sender, EventArgs e) { if(propertiesDialog != null && ! propertiesDialog.IsDisposed) // Already open return; // Display the dialog propertiesDialog = new MeasurePropertiesDialog(); propertiesDialog.Show(); }