C# Class CalculatorHostApp.CalculatorForm

Show file Open project: hikalkan/sps

Public Methods

Method Description
Calculate ( string operation, double number1, double number2 ) : double
CalculatorForm ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
GetCurrentDirectory ( ) : string
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

btnCalculate_Click ( object sender, EventArgs e ) : void

Method Details

Calculate() public method

public Calculate ( string operation, double number1, double number2 ) : double
operation string
number1 double
number2 double
return double

CalculatorForm() public method

public CalculatorForm ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void