mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-15 13:46:35 +08:00
popup支持设置大小
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user