コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the MyHost class. Keep a reference
 /// to the host application object so that it can be informed when
 /// to exit.
 /// </summary>
 /// <param name="program">A reference to the host application object.</param>
 public MyHost(P0wnedListenerConsole program)
 {
     this.program = program;
 }
コード例 #2
0
 public void CommandShell()
 {
     P0wnedListenerConsole listener = new P0wnedListenerConsole();
     listener.CommandPrompt();
 }
コード例 #3
0
        public void CommandShell()
        {
            P0wnedListenerConsole listener = new P0wnedListenerConsole();

            listener.CommandPrompt();
        }
コード例 #4
0
ファイル: p0wnedHost.cs プロジェクト: Skons/p0wnedShell
 /// <summary>
 /// Initializes a new instance of the MyHost class. Keep a reference 
 /// to the host application object so that it can be informed when 
 /// to exit.
 /// </summary>
 /// <param name="program">A reference to the host application object.</param>
 public MyHost(P0wnedListenerConsole program)
 {
     this.program = program;
 }