Ejemplo n.º 1
0
 public static void ShowFormPools()
 {
     if (FormPoolInstance == null)
     {
         FormPoolInstance = new FormPool();
         FormPoolInstance.Show();
     }
 }
Ejemplo n.º 2
0
 public static void ShowFormPools()
 {
     if (FormPoolInstance == null)
     {
         FormPoolInstance = new FormPool();
         FormPoolInstance.Show();
     }
 }
Ejemplo n.º 3
0
        public FormMain()
        {
            InitializeComponent();
            this.Text = Application.ProductName + " [" + Application.ProductVersion + "]";

            FormPoolInstance = null;
            FormNewOrderInstance = null;

            TimerRefresh = new Timer();
            TimerRefresh.Interval = 500;
            TimerRefresh.Tick += new EventHandler(TimerRefresh_Tick);
            TimerRefresh.Start();

            BalanceRefresh = new Timer();
            BalanceRefresh.Interval = 30 * 1000;
            BalanceRefresh.Tick += new EventHandler(BalanceRefresh_Tick);
            BalanceRefresh.Start();
        }
Ejemplo n.º 4
0
        public FormMain()
        {
            InitializeComponent();
            this.Text = Application.ProductName + " [" + Application.ProductVersion + "]";

            FormPoolInstance     = null;
            FormNewOrderInstance = null;

            TimerRefresh          = new Timer();
            TimerRefresh.Interval = 500;
            TimerRefresh.Tick    += new EventHandler(TimerRefresh_Tick);
            TimerRefresh.Start();

            BalanceRefresh          = new Timer();
            BalanceRefresh.Interval = 30 * 1000;
            BalanceRefresh.Tick    += new EventHandler(BalanceRefresh_Tick);
            BalanceRefresh.Start();
        }