I recently studied the NeoSwiff SDK. It is too strong to write the C # syntax compiler of flash !! His independent IDE Installation File is only 3 m.
Check whether there is a public C # syntax analyzer ......
The author is familiar with. net framework, although its GDI + is slightly different from. net.
I used an ImageButton extension System. Windows. Forms. Button Control to test it.
// ImageButton. ccs
Using System;
Using System. Drawing;
Using System. Collections;
Using System. ComponentModel;
Using System. Windows. Forms;
Namespace Component
{
Public class ImageButton: Button
{
Private Image image = null;
Private String imagename = "";
Public ImageButton ()
{
InitializeComponent ();
}
Private void InitializeComponent ()
{
This. Size = new Size (25, 25 );
}
Public String ImageName
{
Get {return imagename ;}
Set {imagename = value ;}
}
Protected override void OnPaint (PaintEventArgs e)
{