public override void Initialize(IComponent component) { base.Initialize(component); do { if (!(component is DockContainer)) { goto label_4; } label_3: ISelectionService service = (ISelectionService)this.GetService(typeof(ISelectionService)); this.x4cd3df9bd5e139a3 = (IComponentChangeService)this.GetService(typeof(IComponentChangeService)); this.xff9c60b45aa37b1e = (IDesignerHost)this.GetService(typeof(IDesignerHost)); continue; label_4: SandDockLanguage.ShowCachedAssemblyError(component.GetType().Assembly, this.GetType().Assembly); if (false) { goto label_2; } else { goto label_3; } }while (false); this.x4cd3df9bd5e139a3.ComponentRemoving += new ComponentEventHandler(this.x97263465e88c9d8e); this.x4cd3df9bd5e139a3.ComponentRemoved += new ComponentEventHandler(this.x5c6da9d6db2adc7a); label_2: this.x0467b00af7810f0c = (DockContainer)component; }
public override void Initialize(IComponent component) { base.Initialize(component); if (component is DockControl) { goto label_11; } else { goto label_13; } label_1: if (true) { return; } label_4: this.xdeac46e41e0fbcf5.Collapsed = false; if (true) { goto label_9; } label_5: if (this.xdeac46e41e0fbcf5.Collapsed) { goto label_6; } label_2: do { if (false) { goto label_5; } }while (false); return; label_6: this.Collapsed = true; if (true) { if (true) { goto label_4; } else { goto label_2; } } label_7: this.xdeac46e41e0fbcf5 = (DockControl)component; this.xdeac46e41e0fbcf5.x81444a37d39a0e4a(); this.x77da34c6f08140f2.SelectionChanged += new EventHandler(this.x6179d221e3fa4b20); this.xdeac46e41e0fbcf5.ControlAdded += new ControlEventHandler(this.x5ba88706ad55272f); this.xdeac46e41e0fbcf5.ControlRemoved += new ControlEventHandler(this.x5ba88706ad55272f); goto label_5; label_9: if (true) { goto label_1; } label_10: SandDockLanguage.ShowCachedAssemblyError(component.GetType().Assembly, this.GetType().Assembly); label_11: this.x4cd3df9bd5e139a3 = (IComponentChangeService)this.GetService(typeof(IComponentChangeService)); this.xff9c60b45aa37b1e = (IDesignerHost)this.GetService(typeof(IDesignerHost)); this.x77da34c6f08140f2 = (ISelectionService)this.GetService(typeof(ISelectionService)); if (true) { goto label_7; } else { goto label_9; } label_13: if (true) { goto label_10; } else { goto label_1; } }