Skip to content

Commit 6311e72

Browse files
kjdoshikjdoshi
kjdoshi
authored and
kjdoshi
committed
Remove commented code.
1 parent 3cd139c commit 6311e72

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Dragablz/TabablzControl.cs

-10
Original file line numberDiff line numberDiff line change
@@ -1482,16 +1482,6 @@ private static void CloseItemClassHandler(object sender, ExecutedRoutedEventArgs
14821482
if (owner == null) throw new ApplicationException("Unable to ascertain DragablzItem to close.");
14831483

14841484
CloseItem(owner.Item1, owner.Item2);
1485-
/*var cancel = false;
1486-
if (owner.Item2.ClosingItemCallback != null)
1487-
{
1488-
var callbackArgs = new ItemActionCallbackArgs<TabablzControl>(Window.GetWindow(owner.Item2), owner.Item2, owner.Item1);
1489-
owner.Item2.ClosingItemCallback(callbackArgs);
1490-
cancel = callbackArgs.IsCancelled;
1491-
}
1492-
1493-
if (!cancel)
1494-
owner.Item2.RemoveItem(owner.Item1);*/
14951485
}
14961486

14971487
private static Tuple<DragablzItem, TabablzControl> FindOwner(object eventParameter, object eventOriginalSource)

0 commit comments

Comments
 (0)