private void HelmEditorDialog_Shown(object sender, EventArgs e) { HelmControl.SetHelmAndRender(OriginalHelm); // display original Helm once dialog is shown return; }
/// <summary> /// Return HELM if valid /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void SaveButton_Click(object sender, EventArgs e) { EditedHelm = HelmControl.GetHelm(); // todo: validate HELM DialogResult = DialogResult.OK; }