private void tcMain_Setup(object sender, RoutedEventArgs e) {
tcMain.newt_DragEnter = newt_DragEnter;
tcMain.newt_DragOver = newt_DragOver;
tcMain.newt_Drop = newt_Drop;
tcMain.newt_Leave = newt_Leave;
tcMain.newt_GiveFeedback = newt_GiveFeedback;
tcMain.newt_PreviewMouseMove = newt_PreviewMouseMove;
tcMain.newt_PreviewMouseDown = newt_PreviewMouseDown;
tcMain.ConstructMoveToCopyToMenu += ConstructMoveToCopyToMenu;
tcMain.DefaultTabPath = tcMain.StartUpLocation.ToShellParsingName();
tcMain.PreviewSelectionChanged += tcMain_PreviewSelectionChanged;
tcMain.StartUpLocation = Utilities.GetRegistryValue("StartUpLoc", KnownFolders.Libraries.ParsingName).ToString();
if (tcMain.StartUpLocation == "") {
Utilities.SetRegistryValue("StartUpLoc", KnownFolders.Libraries.ParsingName);
tcMain.StartUpLocation = KnownFolders.Libraries.ParsingName;
}
}