private void MainForm_Load(object sender, EventArgs e) { FormAnimate.AnimateWindow(this.Handle, 1000, FormAnimate.AW_BLEND); }
private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { FormAnimate.AnimateWindow(this.Handle, 1000, FormAnimate.AW_SLIDE | FormAnimate.AW_HIDE | FormAnimate.AW_BLEND); }
private void button3_Click(object sender, EventArgs e) { FormAnimate.AnimateWindow(this.Handle, 2000, FormAnimate.AW_SLIDE | FormAnimate.AW_HIDE | FormAnimate.AW_BLEND); this.Close(); this.Dispose(); }