public void OnCalculateActionActivated(object sender, EventArgs e) { try { MainUI.Click_Calculate(BrightnessCalcType.Advanced); } //TODO: replace that with actual user selection catch (Exception ex) { Error.Report("OnCalculateActionActivated", ex); } }
partial void BrightnessToolItem_Clicked(NSObject sender) { try { MainUI.Click_Calculate(BrightnessCalcType.Advanced); } catch (Exception ex) { Error.Report("BrightnessToolItem_Clicked", ex); } }
internal void CalculateToolButton_Click(object sender, EventArgs e) { try { MainUI.Click_Calculate((BrightnessCalcType)CalcTypeCoBox.SelectedIndex); } catch (Exception ex) { Error.Report("CalculateToolButton_Click", ex); } }