void SelectAndClose(InverseType it, InverseForm dial) { m_Option = it; m_Dialog = dial; DialogResult = (it == InverseType.None ? DialogResult.Cancel : DialogResult.OK); Close(); }
public InverseChoiceForm() { InitializeComponent(); m_Option = InverseType.None; m_Dialog = null; }
public InverseChoiceForm() { InitializeComponent(); m_Option = InverseType.None; m_Dialog = null; }
void SelectAndClose(InverseType it, InverseForm dial) { m_Option = it; m_Dialog = dial; DialogResult = (it==InverseType.None ? DialogResult.Cancel : DialogResult.OK); Close(); }