예제 #1
0
 private void toolStripButtonReorder_Click(object sender, EventArgs e)
 {
     using (var reorder = new ReorderDialog(_channels, _channelDictionary)) {
         reorder.ShowDialog();
         if (reorder.DialogResult == DialogResult.OK)
         {
             _channelDictionary = reorder.ChannelDictionary;
         }
     }
 }
예제 #2
0
 private void toolStripButtonReorder_Click(object sender, EventArgs e)
 {
     using (var reorder = new ReorderDialog(_channels, _channelDictionary)) {
         reorder.ShowDialog();
         if (reorder.DialogResult == DialogResult.OK) {
             _channelDictionary = reorder.ChannelDictionary;
         }
     }
 }