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

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

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