2010-12-14 30 views

答えて

1
private void TabControl_DragEnter(object sender, DragEventArgs e) 
{ 
    TabItem item = e.Source as TabItem; 
    TabControl tabControl = sender as TabControl; 
    if (item != null && tabControl != null) 
    { 
     if (tabControl.SelectedItem != item) 
      tabControl.SelectedItem = item; 
    } 
} 
ありがとう
関連する問題