public Form1() { InitializeComponent(); FlexibleForm.CreateControlRegion(this, bmpBackground); 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); }