public Form1() { InitializeComponent(); FlexibleForm.CreateControlRegion(this, bmpFrmBg); FlexibleForm.CreateControlRegion(btnClose, bmpcloseUp); }
private void btnClose_MouseLeave(object sender, EventArgs e) { FlexibleForm.CreateControlRegion(btnClose, bmpcloseUp); }
private void btnClose_MouseEnter(object sender, EventArgs e) { FlexibleForm.CreateControlRegion(btnClose, bmpcloseDown); }