Example #1
0
        private void OnApplyClick(object sender, EventArgs e)
        {
            IOptions option = GetCurrentOption();

            if (option != null)
            {
                option.Apply();
            }
        }
Example #2
0
        private void OnOKClick(object sender, EventArgs e)
        {
            IOptions option = GetCurrentOption();

            if (option != null)
            {
                option.Apply();
                this.DialogResult = DialogResult.OK;
            }
        }