private void btnAnimasyon2_Click(object sender, EventArgs e) { frmYanSon frmY = new frmYanSon(); AnimateWindow(frmY.Handle, 3000, AW_VER_NEGATIVE | AW_SLIDe); frmY.Show(); }
private void btnYanSon_Click(object sender, EventArgs e) { frmYanSon frmY = new frmYanSon(); frmY.Show(); for (int i = 0; i <= 4; i++) { Thread.Sleep(300); FlashWindow(frmY.Handle, true); } }