示例#1
0
        private void HelmEditorDialog_Shown(object sender, EventArgs e)
        {
            HelmControl.SetHelmAndRender(OriginalHelm);             // display original Helm once dialog is shown

            return;
        }
示例#2
0
        /// <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;
        }