コード例 #1
0
        private void OnScriptComplete(pseventargs e)
        {
            EventHandler <pseventargs> handler = ScriptCompleted;

            if (handler != null)
            {
                handler(this, e);
            }
        }
コード例 #2
0
        private void ScriptCompleted(object sender, EventArgs e)
        {
            pseventargs rslts = (pseventargs)e;

            if (!scheduled)
            {
                frm.DisplayOutput(rslts.Results, rslts.ScriptListView, clicked, rslts.Cancelled, scroll);
            }
            else
            {
                frm.RemoveActiveScript(rslts.ScriptListView);
            }
        }
コード例 #3
0
ファイル: pscript.cs プロジェクト: x0x029a/PoshSecFramework
 private void OnScriptComplete(pseventargs e)
 {
     EventHandler<pseventargs> handler = ScriptCompleted;
     if (handler != null)
     {
         handler(this, e);
     }
 }