Example #1
0
        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;
        }
Example #3
0
 internal ContractEditor(ContractNodeHandler parent, ContractUIEditable owner)
 {
     InitializeComponent();
     ContractNodeHandler = parent;
     _owner = owner;
 }
 internal ContractEditor(ContractNodeHandler parent, ContractUIEditable owner)
 {
     InitializeComponent();
     ContractNodeHandler = parent;
     _owner = owner;
 }