public UserControlForm() { InitializeComponent(); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.closeForm); this.Controls.Add(right = new RightUserControl(this)); this.Controls.Add(left = new LeftUserControl(this)); this.Controls.Add(bottom = new BottomUserControl(this)); left.InitialiseNodes(); ((this).Parent) = ((this).Parent); userControl.services.master.configuration.MasterConfigurationValidationService.getInstance().validateMasterConfigurationFile(); this.processQueueTimer = new System.Timers.Timer(1000); this.processQueueTimer.Elapsed += new ElapsedEventHandler(this.handleProcessQueues); this.processQueueTimer.Enabled = true; }
public ControlTreeNode(RightUserControl control) { this.control = control; }
public void setRightControl(RightUserControl right) { Point l = this.right.Location; this.Controls.Remove(this.right); this.right = right; this.Controls.Add(this.right); this.right.Location = l; }