public void OnFirstClick() { this.Editors = new List <IEditable>(); ContractUIEditable editor = new ContractUIEditable("Contract-" + Contract.Name, this); ContractXmlEditable xeditor = new ContractXmlEditable("Contract-" + Contract.Name, this); this.Editors.Add(editor); this.Editors.Add(xeditor); this.CurrentEditor = editor; this.Contract.Reloaded += new EventHandler(Contract_Reloaded); this.Reload(); this.IsFirstClick = false; }
public void OnFirstClick() { this.Editors = new List<IEditable>(); ContractUIEditable editor = new ContractUIEditable("Contract-" + Contract.Name, this); ContractXmlEditable xeditor = new ContractXmlEditable("Contract-" + Contract.Name, this); this.Editors.Add(editor); this.Editors.Add(xeditor); this.CurrentEditor = editor; this.Contract.Reloaded += new EventHandler(Contract_Reloaded); this.Reload(); this.IsFirstClick = false; }
internal ContractEditor(ContractNodeHandler parent, ContractUIEditable owner) { InitializeComponent(); ContractNodeHandler = parent; _owner = owner; }