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

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

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