예제 #1
0
 protected override void OnStart(string[] args)
 {
     try
     {
         //--- start our components
         _assisetent = new WBXEngine.Manager.Assistant();
         _assisetent.Start();
     }
     catch (Exception ex)
     {
     }
 }
예제 #2
0
        private void btnStart_Click(object sender, EventArgs e)
        {
            try
            {
                ButtonsEnabled = false;
                if (_assisentent == null)
                {
                    _assisentent = new WBXEngine.Manager.Assistant();
                }
                _assisentent.Start();
            }catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }

            ToggleButtons(true);
        }