瀏覽代碼

其他-清理测试代码

OYXH\oyxh 1 年之前
父節點
當前提交
71ff0d329a
共有 1 個文件被更改,包括 1 次插入8 次删除
  1. 1 8
      PDF Office/Views/MainWindow.xaml.cs

+ 1 - 8
PDF Office/Views/MainWindow.xaml.cs

@@ -321,20 +321,13 @@ namespace PDF_Master.Views
         private void UpdateTitleMargin()
         {
             var width = StkPnlRight.ActualWidth;
-            double width1 = this.ActualWidth;
-            double width2 = TabablzControl.ActualWidth;
+
             if (BorderUpgrade.Visibility == Visibility.Collapsed)
             {
                 BtnAdd.Margin = new Thickness(8, 13, width, 7);
-                Trace.WriteLine("BorderUpgrade.Collapsed " + width1);
-                Trace.WriteLine("BorderUpgrade.Collapsed " + width2);
-                Trace.WriteLine("BorderUpgrade.Collapsed " + width);
             }
             else
             {
-                Trace.WriteLine("BorderUpgrade.Visibility " + width1);
-                Trace.WriteLine("BorderUpgrade.Visibility " + width2);
-                Trace.WriteLine("BorderUpgrade.Visibility " + width);
                 if (this.WindowState == WindowState.Maximized)
                 {
                     BtnAdd.Margin = new Thickness(8, 13, width, 7);