Ejemplo n.º 1
0
 public InteractionForm(PuppetMasterMaster master, string siteName)
 {
     InitializeComponent();
     this._master = master;
     Text = "Command - " + siteName;
     this.IndividualBox.KeyDown += iKeyDown;
     this.GroupBox.KeyDown += gKeyDown;
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Connects this PuppetMasterSlave to the PuppetMasterMaster
 /// </summary>
 /// <param name="siteParent"></param>
 /// <param name="masterSite"></param>
 void IPuppetMasterSlave.RegisterWithMaster(string siteParent, string masterSite)
 {
     ParentSite = siteParent;
     string url = "tcp://localhost:" + Utility.GetPort(masterSite) + "/" + masterSite;
     Master = (IPuppetMasterMaster) Activator.GetObject(typeof (IPuppetMasterMaster), url);
 }