private void MyPopUpWindow_FormClosing(object sender, FormClosingEventArgs e) { MyPopUpWindow.AnimateWindow(this.Handle, 300, MyPopUpWindow.AW_SLIDE | MyPopUpWindow.AW_HIDE | MyPopUpWindow.AW_BLEND); }
private void MyPopUpWindow_Load(object sender, EventArgs e) { MyPopUpWindow.AnimateWindow(this.Handle, 300, MyPopUpWindow.AW_BLEND); }