コード例 #1
0
 public void StopRotateAnim()
 {
     MyApp.ExecuteOnUI(delegate()
     {
         CenterForm.BeginAnimation(RotateTransform.AngleProperty, null);
     });
 }
コード例 #2
0
 public void StartRotateAnim(double secRotateTime = 0.75)
 {
     MyApp.ExecuteOnUI(delegate()
     {
         var anim            = new DoubleAnimation(0, 360, new Duration(TimeSpan.FromSeconds(secRotateTime)));
         anim.RepeatBehavior = RepeatBehavior.Forever;
         CenterForm.BeginAnimation(RotateTransform.AngleProperty, anim);
     });
 }
コード例 #3
0
 private void xfPurchasesAbvance_SizeChanged(object sender, EventArgs e)
 {
     sPCentral.Location = CenterForm.Function(this.Width, sPCentral.Width);
 }
コード例 #4
0
 private void xfMovimientofactura_SizeChanged(object sender, EventArgs e)
 {
     sidePanel1.Location = CenterForm.Function(this.Width, sidePanel1.Width);
 }
コード例 #5
0
 private void xfInventario_SizeChanged(object sender, EventArgs e)
 {
     pCCentral.Location = CenterForm.Function(this.Width, pCCentral.Width);
 }
コード例 #6
0
 private void xfVistaExistencia_SizeChanged(object sender, EventArgs e)
 {
     sidePanel1.Location = CenterForm.Function(this.Width, sidePanel1.Width);
 }