private void DoWindowActivate(object docObj) { FaxModule myModule = Modules["FaxModule"].Module as FaxModule; if (myModule != null) { myModule.OnWindowActivate(docObj); } }
private void ChangeButtonState(bool enabled) { FaxModule myModule = Modules["FaxModule"].Module as FaxModule; if (myModule != null) { myModule.adxClearControlsBtn.Enabled = enabled; myModule.adxClearControlsRibbonButton.Enabled = enabled; } }