popup支持设置大小

This commit is contained in:
艾竹
2023-05-01 23:07:19 +08:00
parent 508de7a7d9
commit 6fa78893ee
8 changed files with 30 additions and 2 deletions

View File

@@ -24,6 +24,12 @@ namespace AIStudio.Wpf.DiagramDesigner.Controls
InitializeComponent();
}
public void Init(double width, double height)
{
grid.Width = width;
grid.Height = height;
}
private void Ok_Click(object sender, RoutedEventArgs e)
{
this.DialogResult = true;