www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@xregGui/@xregEventData/xregEventData.m

    function obj = xregEventData(hSrc, eventName, data)
%XREGEVENTDATA

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.



% Call the built-in constructor which inherits its two
% arguments from the handle.EventData constructor
% which takes a source handle and the name of an event
% that is defined by the class of the source handle.
obj = xregGui.xregEventData(hSrc, eventName);
% Initialize the data field
obj.data = data;