Exemplo n.º 1
0
 private int GetObjectValue(int Primary, CommonVar Common)
 {
     if (Primary != 0)
     {
         return(Primary);
     }
     return(Common.Value == Int32.MaxValue ? Common.Default : Common.Value);
 }
Exemplo n.º 2
0
 private void InitEnvironment()
 {
     CommonPosX  = 10;
     CommonPosY  = 10;
     CommonSpace = new CommonVar(85);
     CommonWidth = new CommonVar(75);
     CommonMin   = new CommonVar(0);
     CommonMax   = new CommonVar(100);
     IncX        = 0;
     IncY        = 20;
 }
Exemplo n.º 3
0
 private void InitEnvironment()
 {
     CommonPosX  = 10;
     CommonPosY  = 10;
     CommonSpace = new CommonVar(85);
     CommonWidth = new CommonVar(75);
     CommonMin   = new CommonVar(0);
     CommonMax   = new CommonVar(100);
     IncX        = 0;
     IncY        = 20;
 }
Exemplo n.º 4
0
 private int GetObjectValue(int Primary, CommonVar Common)
 {
     if (Primary != 0) return Primary;
     return (Common.Value == Int32.MaxValue ? Common.Default : Common.Value);
 }