RefreshCustomAcionItems() public méthode

public RefreshCustomAcionItems ( int scrollValue = -1 ) : void
scrollValue int
Résultat void
Exemple #1
0
        private void button_Delete_Click(object sender, EventArgs e)
        {
            int index = ConfigWindow.CustomActionItems.IndexOf(this);

            int scrollValue = ConfigWindow.GetContextMenuPanelScrollValue();

            ConfigWindow.CustomActionItems.Remove(this);
            Parent.Controls.Remove(this);
            ConfigWindow.RefreshCustomAcionItems(scrollValue);
        }