Example #1
0
        public void CanInterceptOnFormsClass()
        {
            CallCountHandler       countHandler = new CallCountHandler();
            RemotingPolicyInjector factory      = new RemotingPolicyInjector(GetPolicySet(countHandler));

            IMyForm magicForm = factory.Create <MyForm, IMyForm>();
        }
Example #2
0
		public void Show () {
			CheckCounter ();
			if (!ShowForms)
				return;
			IMyForm form = CreateForm(_callingFunction + _mpFuncCount[_callingFunction]);
			form.Show ();
		}
Example #3
0
 public Exitment(IMyForm form)
     : this()
 {
     this.form = form;
 }