Example #1
0
 public static Nijie GetInstance(ILog _log = null, bool useHttps = false)
 {
     if (_instance == null)
     {
         _instance = new Nijie(_log);
     }
     return(_instance);
 }
Example #2
0
 public static Nijie GetInstance(ILog _log = null, bool useHttps = false)
 {
     if (_instance == null)
     {
         _instance = new Nijie(_log);
     }
     return _instance;
 }
        public UpdateHtmlForm()
        {
            InitializeComponent();
            cancelToken = new CancellationToken();
            nijie = Nijie.GetInstance();

            if (this.WindowState == FormWindowState.Minimized)
            {
                this.WindowState = FormWindowState.Normal;
            }

            this.Activate();
        }
 private void ConfigureBot()
 {
     Bot = new Nijie(Log);
     ExtendedWebClient.EnableCompression = Properties.Settings.Default.EnableCompression;
     Nijie.LoggingEventHandler += new Nijie.NijieEventHandler(Nijie_LoggingEventHandler);
 }