| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- //
- // System.ComponentModel.RefreshEventArgs.cs
- //
- // Author:
- // Gonzalo Paniagua Javier ([email protected])
- //
- // (C) 2002 Ximian, Inc (http://www.ximian.com)
- //
- using System;
- namespace System.ComponentModel
- {
- public class RefreshEventArgs : EventArgs
- {
- private object component;
- private Type type;
- public RefreshEventArgs (object componentChanged)
- {
- if (componentChanged == null)
- throw new ArgumentNullException ("componentChanged");
- component = componentChanged;
- type = component.GetType ();
- }
- public RefreshEventArgs (Type typeChanged)
- {
- type = typeChanged;
- }
- public object ComponentChanged
- {
- get { return component; }
- }
- public Type TypeChanged
- {
- get { return type; }
- }
- }
- }
|