public CheckedListBox ListBox { get { return featureSnapAgentListBox; } }
protected override void OnClick() { ZSnapDockableWindow zsdw = AddIn.FromID<ZSnapDockableWindow.AddinImpl>(ThisAddIn.IDs.ZSnapDockableWindow).m_windowUI; //This line uses the UserData property to return the textbox embedded in the //dockable window (child form). Only works in COM. //CheckedListBox featureSnapAgentListBox = (CheckedListBox)_dockableWindow.UserData; CheckedListBox featureSnapAgentListBox = zsdw.ListBox as CheckedListBox; featureSnapAgentListBox.Items.Clear(); featureSnapAgentListBox.CheckOnClick = true; //Add the snapagents...
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.