public ProgressForm(CoreDll.LocalActionType action, CoreDll.TargetType target, CoreLib core, Options options, CoreOptions coreOptions, MainSplitContainer mainSplitContainer) { m_type = Type.ApplyAction; m_action = action; m_target = target; Initialize(core, options, coreOptions, mainSplitContainer); }
private void OnButtonClicked(object sender, System.EventArgs e) { ToolStripButton item = (ToolStripButton)sender; CoreDll.LocalActionType action = (CoreDll.LocalActionType)item.Tag; m_resultsListView.MakeAction(action, CoreDll.TargetType.Current); }
private void MakeAction(object sender, EventArgs e) { ToolStripItem item = (ToolStripItem)sender; CoreDll.LocalActionType action = (CoreDll.LocalActionType)item.Tag; m_mainSplitContainer.resultsListView.MakeAction(action, CoreDll.TargetType.Selected); }
public void MakeAction(CoreDll.LocalActionType action, CoreDll.TargetType target) { m_makeAction = true; ProgressForm progressForm = new ProgressForm(action, target, m_core, m_options, m_coreOptions, m_mainSplitContainer); progressForm.Execute(); m_makeAction = false; }
public bool ApplyToResult(CoreDll.LocalActionType localActionType, CoreDll.TargetType targetType) { return(m_dll.adResultApplyTo(m_handle, localActionType, targetType) == CoreDll.Error.Ok); }