コード例 #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;
        }
コード例 #2
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;
        }
コード例 #3
0
 internal ContractEditor(ContractNodeHandler parent, ContractUIEditable owner)
 {
     InitializeComponent();
     ContractNodeHandler = parent;
     _owner = owner;
 }
コード例 #4
0
 internal ContractEditor(ContractNodeHandler parent, ContractUIEditable owner)
 {
     InitializeComponent();
     ContractNodeHandler = parent;
     _owner = owner;
 }