摘要: Action和EventHandle Action和EventHandler都是.net帮我定义好的委托,我们可以直接使用,方便的定义事件。 利用Action定义事件 //无参事件 event Action Event1; //有参事件 event Action<int, int, string> 阅读全文
posted @ 2022-08-09 17:16 宋桓公 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 前台代码部分 <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="100"/> <ColumnDefinition/> </Grid.ColumnDefinitions> <StackPanel Background="AliceBlue 阅读全文
posted @ 2022-08-09 15:43 宋桓公 阅读(117) 评论(0) 推荐(0) 编辑