public void Run( VgcApis.Models.IServices.IApiService api, Services.Settings settings, Services.LuaServer luaServer) { this.api = api; this.configMgr = api.GetConfigMgrService(); this.vgcServers = api.GetServersService(); this.settings = settings; this.luaServer = luaServer; this.luaCoreCtrl = CreateLuaCoreCtrl( settings, api); InitControls(); BindEvents(); ReloadScriptName(); if (cboxScriptName.Items.Count > 0) { cboxScriptName.SelectedIndex = 0; } repaintCtrl = new VgcApis.Libs.Views.RepaintCtrl(rtboxOutput); logUpdater.Run(); }
private void FormLog_Load(object sender, System.EventArgs e) { // throw new NullReferenceException("for debugging"); repaintCtrl = new VgcApis.Libs.Views.RepaintCtrl(rtBoxLogger); updateLogTimer.Tick += UpdateLog; updateLogTimer.Start(); }
public void Run( VgcApis.Interfaces.Services.IApiService api, Services.Settings settings, Services.LuaServer luaServer) { this.settings = settings; this.luaServer = luaServer; this.luaCoreCtrl = CreateLuaCoreCtrl(settings, api); InitControls(); BindEvents(); ReloadScriptName(); repaintCtrl = new VgcApis.Libs.Views.RepaintCtrl(rtboxOutput); logUpdater.Run(); }
private void FormSingleServerLog_Load(object sender, EventArgs e) { logUpdater.Run(); repaintCtrl = new VgcApis.Libs.Views.RepaintCtrl(rtBoxLogger); }
private void FormLog_Load(object sender, System.EventArgs e) { repaintCtrl = new VgcApis.Libs.Views.RepaintCtrl(rtBoxLogger); updateLogTimer.Tick += UpdateLog; updateLogTimer.Start(); }