Beispiel #1
0
 public static void ShowFormPools()
 {
     if (FormPoolInstance == null)
     {
         FormPoolInstance = new FormPool();
         FormPoolInstance.Show();
     }
 }
Beispiel #2
0
 public static void ShowFormPools()
 {
     if (FormPoolInstance == null)
     {
         FormPoolInstance = new FormPool();
         FormPoolInstance.Show();
     }
 }
Beispiel #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();
        }
Beispiel #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();
        }