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...
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.