Kaynağa Gözat

其他-清理测试代码

OYXH\oyxh 1 yıl önce
ebeveyn
işleme
71ff0d329a
1 değiştirilmiş dosya ile 1 ekleme ve 8 silme
  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);