示例#1
0
 private void buttonCenterSlide_Click(object sender, EventArgs e)
 {
     this.Hide();
     WinAPIClass.AnimateWindow(this, 300,
                               WinAPIClass.AnimateWindowFlags.AW_CENTER |
                               WinAPIClass.AnimateWindowFlags.AW_SLIDE);
     this.buttonManifestation.Invalidate();
     this.buttonHorSlide.Invalidate();
     this.buttonCenterSlide.Invalidate();
 }
示例#2
0
 private void buttonManifestation_Click(object sender, EventArgs e)
 {
     this.Hide();
     WinAPIClass.AnimateWindow(this, 300,
                               WinAPIClass.AnimateWindowFlags.AW_ACTIVATE |
                               WinAPIClass.AnimateWindowFlags.AW_BLEND);
     this.buttonManifestation.Invalidate();
     this.buttonHorSlide.Invalidate();
     this.buttonCenterSlide.Invalidate();
 }