Esempio n. 1
0
 public int Setup(long hWnd)
 {
     try
     {
         if (SetConfigFile() == 0)
         {
             Config = new Config(ConfigFile, hWnd, _TSCallbackHelper);
             Config.CollectConfigInfoFromUser();
         }
         else
         {
             throw new Exception(ErrMsg);
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, _DLLName, MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
     return 0;
 }