摘要: public int ImgIdx { get { return imgIdx; } set { if(value!=imgIdx) { imgIdx = value; if(imgIdx<0) { imgIdx = imgsCount - 1; } if(imgIdx>=imgsCount) { 阅读全文
posted @ 2024-07-18 20:27 FredGrit 阅读(29) 评论(0) 推荐(0) 编辑
摘要: //xaml <Grid> <Grid.ColumnDefinitions> <ColumnDefinition/> <ColumnDefinition/> <ColumnDefinition/> </Grid.ColumnDefinitions> <ListBox Grid.Column="0" 阅读全文
posted @ 2024-07-18 19:32 FredGrit 阅读(7) 评论(0) 推荐(0) 编辑
摘要: private void SerializeDemo() { var obj = new[] { new { CountryId=1, CountryName="USA", StateList= new [] { new[] { new { StateId=1, StateName="NY", Ci 阅读全文
posted @ 2024-07-18 18:14 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑