✅ [wpf] how to solve autometically closed new window when I create new window..
In StickyNotesView.xaml , I create new Window but If I click '+' that new window not only undisplayed but also programm app is closed too . why?
I just fixed my xaml code
<Grid IsHitTestVisible="True" >
<TextBox Name="SubTextBox" IsHitTestVisible="True" TextChanged="TextBox_Changed"></TextBox>
</Grid>
if I remve <Grid> </Grid> and just reamin TextBox, then the problem is solved. but I wanna add button. so I should use Grid this panel.
First Image is that removed Grid. so new window is displayed. but If i use upper <Grid> </Grid> then New Window is not displayed and program down.
I did dbug but when dbug , that new window is displayed.,... it is weird.
I just fixed my xaml code
<Grid IsHitTestVisible="True" >
<TextBox Name="SubTextBox" IsHitTestVisible="True" TextChanged="TextBox_Changed"></TextBox>
</Grid>
if I remve <Grid> </Grid> and just reamin TextBox, then the problem is solved. but I wanna add button. so I should use Grid this panel.
First Image is that removed Grid. so new window is displayed. but If i use upper <Grid> </Grid> then New Window is not displayed and program down.
I did dbug but when dbug , that new window is displayed.,... it is weird.
