home *** CD-ROM | disk | FTP | other *** search
- import com.ms.wfc.core.*;
- import com.ms.wfc.ui.*;
-
- /**
- * This class is a visual component. The entry point for class execution
- * is the constructor.
- *
- * This class can be used as an ActiveX control. Check the checkbox for this class
- * on the Project Properties COM Classes tab, or remove the // from the next line:
- // * @com.register ( clsid=%GUID1%, typelib=%GUID2% )
- */
- public class Control1 extends UserControl
- {
- public Control1()
- {
- // Required for Visual J++ Form Designer support
- initForm();
-
- // TODO: Add any constructor code after initForm call
- }
-
- /**
- * NOTE: The following code is required by the Visual J++ form
- * designer. It can be modified using the form editor. Do not
- * modify it using the code editor.
- */
- Container components = new Container();
-
- private void initForm()
- {
- this.setSize(new Point(300, 300));
- this.setText("Control1");
- }
- // NOTE: End of form designer support code
-
- public static class ClassInfo extends UserControl.ClassInfo
- {
- // TODO: Add your property and event infos here
- }
- }
-