Prechádzať zdrojové kódy

其他-清理测试代码

OYXH\oyxh 1 rok pred
rodič
commit
71ff0d329a
1 zmenil súbory, kde vykonal 1 pridanie a 8 odobranie
  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);