Home Page > Programming Samples and Tutorials > .NET Samples > C# Samples > BoolOp
BoolOp C# Sample
BoolOp Sample
Overview
Implementation
All relevant functionality is implemented inside the BoolOpForm class. On the
start BoolOpForm::Init() function obtains ISection
interface of the first two objects and them in m_iSection0 and m_iSection1
members.
The main work is done inside the BoolOpForm::OnExecute() handler.which
queries the IBooolSection interface
from the first m_pISection and calls a
IBooolSection method for the selected operation supplying m_iSection1 as the parameter. In the end the function makes sure that the
View mode is current by calling OnModeView() method to allow user to review the
result of the operation.
See also: All C# Samples,
All samples
|