public void CanInterceptOnFormsClass() { CallCountHandler countHandler = new CallCountHandler(); RemotingPolicyInjector factory = new RemotingPolicyInjector(GetPolicySet(countHandler)); IMyForm magicForm = factory.Create <MyForm, IMyForm>(); }
public void Show () { CheckCounter (); if (!ShowForms) return; IMyForm form = CreateForm(_callingFunction + _mpFuncCount[_callingFunction]); form.Show (); }
public Exitment(IMyForm form) : this() { this.form = form; }