private void UCSourceEditor_Load(object sender, EventArgs e) { AllToKeepDragDropHelper = new ListBoxDragDropHelper(lbAllChanels, lbKeepChannels, OnAllToKeepDragDrop); KeepToKeepDragDropHelper = new ListBoxDragDropHelper(lbKeepChannels, lbKeepChannels, OnKeepToKeepDragDrop); RefreshSourceList(); GetURLList(); }
private void OnKeepToKeepDragDrop(ListBoxDragDropHelper sender, int dragitemindex, int dropitemindex) { MoveChenel(dragitemindex, dropitemindex); }
private void OnAllToKeepDragDrop(ListBoxDragDropHelper sender, int dragitemindex, int dropitemindex) { AddToKeepChannels(dragitemindex, dropitemindex); }