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...
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.