Exemplo n.º 1
0
Arquivo: AOpt.cs Projeto: alexfordc/Au
 /// <summary>
 /// Initializes this instance with default values or values copied from another instance.
 /// </summary>
 /// <param name="cloneOptions">If not null, copies its options into this variable.</param>
 internal OptMouse(OptMouse cloneOptions = null)         //don't need public like OptKey
 {
     if (cloneOptions != null)
     {
         _o = cloneOptions._o;
     }
     else
     {
         _o.ClickSpeed = 20;
         //_o.MoveSpeed = 0;
         _o.ClickSleepFinally = 10;
         _o.MoveSleepFinally  = 10;
         //_o.Relaxed = false;
     }
 }
Exemplo n.º 2
0
Arquivo: AOpt.cs Projeto: alexfordc/Au
 /// <summary>
 /// Resets all options. Copies from <see cref="AOpt.Static.Mouse"/>.
 /// </summary>
 public void Reset() => _o = AOpt.Static.Mouse._o;
Exemplo n.º 3
0
Arquivo: AOpt.cs Projeto: alexfordc/Au
 void _Copy(OptWarnings o)
 {
     _o = o._o;
     _disabledWarnings = o._disabledWarnings == null ? null : new List <string>(o._disabledWarnings);
 }