예제 #1
0
 private void frmGeometryInfo_Load(object sender, EventArgs e)
 {
     if (EditorLicenseProviderCheck.Check())
     {
         this.m_HasLicense = true;
         EditorEvent.OnEditTemplateChange +=
             new EditorEvent.OnEditTemplateChangeHandler(this.EditorEvent_OnEditTemplateChange);
         EditorEvent.OnFeatureGeometryChanged +=
             new EditorEvent.OnFeatureGeometryChangedHandler(this.EditorEvent_OnFeatureGeometryChanged);
         EditorEvent.OnStopEditing += new EditorEvent.OnStopEditingHandler(this.EditorEvent_OnStopEditing);
         this.Init();
         this.m_CanDo = true;
     }
 }
예제 #2
0
 private void AttributeEditControlExtend_Load(object sender, EventArgs e)
 {
     if (EditorLicenseProviderCheck.Check())
     {
         this.m_HasLicense           = true;
         EditorEvent.OnStartEditing += new EditorEvent.OnStartEditingHandler(this.EditorEvent_OnStartEditing);
         EditorEvent.OnStopEditing  += new EditorEvent.OnStopEditingHandler(this.EditorEvent_OnStopEditing);
         this.m_CanDo = true;
         this.m_pAttributeListControl1.Dock = DockStyle.Fill;
         this.panel1.Controls.Add(this.m_pAttributeListControl1);
         this.m_pMultiAttributeListControl.Dock = DockStyle.Fill;
         this.panel2.Controls.Add(this.m_pMultiAttributeListControl);
         this.Text = "宗地属性编辑";
         this.Init();
     }
 }