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...
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.