|
@@ -294,12 +294,8 @@ namespace CollaborativePlatformMain.Form.MessageSubPage
|
|
me_right.Children.Clear();
|
|
me_right.Children.Clear();
|
|
foreach (var specificConten in specificContent)
|
|
foreach (var specificConten in specificContent)
|
|
{
|
|
{
|
|
- TextBlock textBlock = new TextBlock();
|
|
|
|
- textBlock.Text = specificConten;
|
|
|
|
- textBlock.FontSize = 15;
|
|
|
|
- textBlock.FontFamily = new FontFamily("黑体");
|
|
|
|
- textBlock.DataContext = announcement;
|
|
|
|
- me_right.Children.Add(textBlock);
|
|
|
|
|
|
+
|
|
|
|
+
|
|
//ScrollViewer scrollViewer = new ScrollViewer();
|
|
//ScrollViewer scrollViewer = new ScrollViewer();
|
|
//scrollViewer.VerticalScrollBarVisibility = ScrollBarVisibility.Auto;
|
|
//scrollViewer.VerticalScrollBarVisibility = ScrollBarVisibility.Auto;
|
|
//me_right.Children.Add(scrollViewer);
|
|
//me_right.Children.Add(scrollViewer);
|
|
@@ -344,9 +340,17 @@ namespace CollaborativePlatformMain.Form.MessageSubPage
|
|
stackPanel1.Children.Add(textBlock3);
|
|
stackPanel1.Children.Add(textBlock3);
|
|
stackPanel1.Children.Add(dockPanel);
|
|
stackPanel1.Children.Add(dockPanel);
|
|
stackPanel1.Width = 480;
|
|
stackPanel1.Width = 480;
|
|
-
|
|
|
|
me_right.Children.Add(stackPanel1);
|
|
me_right.Children.Add(stackPanel1);
|
|
}
|
|
}
|
|
|
|
+ else
|
|
|
|
+ {
|
|
|
|
+ TextBlock textBlock = new TextBlock();
|
|
|
|
+ textBlock.Text = specificConten;
|
|
|
|
+ textBlock.FontSize = 15;
|
|
|
|
+ textBlock.FontFamily = new FontFamily("黑体");
|
|
|
|
+ textBlock.DataContext = announcement;
|
|
|
|
+ me_right.Children.Add(textBlock);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|