Beispiel #1
0
        private void FormMain_Load(object sender, EventArgs e)
        {
            RorzeInterface ctrl   = new RorzeInterface(this);
            RouteControl   RTCtrl = new RouteControl(this, ctrl);

            RTCtrl.ConnectAll();
        }
Beispiel #2
0
        public FormMain()
        {
            InitializeComponent();
            XmlConfigurator.Configure();
            Initialize();

            HostControl = new RorzeInterface(this);
            RouteCtrl   = new RouteControl(HostControl);
            AlmMapping  = new AlarmMapping();

            this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
            this.Location      = new System.Drawing.Point(-200, 0);

            SanwaUtil.addPartition();
            SanwaUtil.dropPartition();
            ThreadPool.QueueUserWorkItem(new WaitCallback(DBUtil.consumeSqlCmd));
        }