// 끝낼 준비 public void DeInitPlugin() { // _isPluginEnabled = false; _frmOverlay.Hide(); _frmOverlay = null; SaveSettings(); #if MACHINA // 마시나 if (_monitor != null) { _monitor.Stop(); _monitor = null; } #endif // _isInitSetting = false; _actTabPage = null; if (_actLabelStatus != null) { _actLabelStatus.Text = Mesg.GetText("l-plugin-stopped"); _actLabelStatus = null; } Mesg.SetTextBox(null); }
// public MainControl() { RegisterActAssemblies(); InitializeComponent(); // 색깔 선택 색깔만들기 Type colortype = typeof(System.Drawing.Color); PropertyInfo[] pis = colortype.GetProperties(BindingFlags.Static | BindingFlags.DeclaredOnly | BindingFlags.Public); foreach (var p in pis) { cboLogBackground.Items.Add(p.Name); } cboLogBackground.SelectedValue = rtxLogger.BackColor.Name; // 설정 경로 Settings.Path = Path.Combine(ActGlobals.oFormActMain.AppDataFolder.FullName, "Config", "ACT.DFAssist.config.xml"); // foreach (var f in Application.OpenForms) { if (f != ActGlobals.oFormActMain) { continue; } _isFormLoaded = true; break; } // _frmOverlay = new OverlayForm(); }
// public void DeInitPlugin() { _isPluginEnabled = false; _frmOverlay.Hide(); _frmOverlay = null; SaveSettings(); _actTabPage = null; if (_actLabelStatus != null) { _actLabelStatus.Text = Localization.GetText("l-plugin-stopped"); _actLabelStatus = null; } foreach (var e in _pronets) { e.Value.Network.StopCapture(); } _timer.Enabled = false; MsgLog.SetTextBox(null); }
// public MainControl() { RegisterActAssemblies(); InitializeComponent(); InitializeUi(); // foreach (var f in Application.OpenForms) { if (f != ActGlobals.oFormActMain) { continue; } _isFormLoaded = true; break; } // _frmOverlay = new OverlayForm(); }
// public void DeInitPlugin() { _isPluginEnabled = false; _frmOverlay.Hide(); _frmOverlay = null; SaveSettings(); _isInitSetting = false; _actTabPage = null; if (_actLabelStatus != null) { _actLabelStatus.Text = Localization.GetText("l-plugin-stopped"); _actLabelStatus = null; } PacketWorker.EndMachina(); MsgLog.SetTextBox(null); }
// public void DeInitPlugin() { // _isPluginEnabled = false; _frmOverlay.Hide(); _frmOverlay = null; SaveSettings(); // _isInitSetting = false; _actTabPage = null; if (_actLabelStatus != null) { _actLabelStatus.Text = Mesg.GetText("l-plugin-stopped"); _actLabelStatus = null; } Mesg.SetTextBox(null); }