Exemple #1
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     FormAnimate.AnimateWindow(this.Handle, 1000, FormAnimate.AW_BLEND);
 }
Exemple #2
0
 private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     FormAnimate.AnimateWindow(this.Handle, 1000, FormAnimate.AW_SLIDE | FormAnimate.AW_HIDE | FormAnimate.AW_BLEND);
 }
Exemple #3
0
 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();
 }