Пример #1
0
        public Form1()
        {
            InitializeComponent();

            FlexibleForm.CreateControlRegion(this, bmpBackground);
            FlexibleForm.CreateControlRegion(btnClose, bmpCloseUp);
        }
Пример #2
0
 private void btnClose_MouseLeave(object sender, EventArgs e)
 {
     FlexibleForm.CreateControlRegion(btnClose, bmpCloseUp);
 }
Пример #3
0
 private void btnClose_MouseEnter(object sender, EventArgs e)
 {
     FlexibleForm.CreateControlRegion(btnClose, bmpCloseDown);
 }