private void ProcessButtonClick(object sender, SledReadOnlyDocResolutionFormOptions option) { var btn = (Button)sender; btn.Enabled = false; var ea = new SledReadOnlyDocResolutionFormEventArgs(m_sd, option); TryOptionEvent.Raise(this, ea); if (!ea.Result) return; m_bCanClose = true; DialogResult = DialogResult.OK; Close(); }
private void ProcessButtonClick(object sender, SledReadOnlyDocResolutionFormOptions option) { var btn = (Button)sender; btn.Enabled = false; var ea = new SledReadOnlyDocResolutionFormEventArgs(m_sd, option); TryOptionEvent.Raise(this, ea); if (!ea.Result) { return; } m_bCanClose = true; DialogResult = DialogResult.OK; Close(); }
public SledReadOnlyDocResolutionFormEventArgs(ISledDocument sd, SledReadOnlyDocResolutionFormOptions option) { m_sd = sd; m_option = option; Result = false; }
public SledReadOnlyDocResolutionFormEventArgs(ISledDocument sd, SledReadOnlyDocResolutionFormOptions option) { m_sd = sd; m_option = option; Result = false; }