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