Application.Exit()应用程序退退出 this.Close()当前窗口退出 int h = DateTime.Now.Hour; //获取当前时间的小时部分 int m = DateTime.Now.Minute; //获取当前时间的分钟部分 int s = DateTime.Now.Second; //获取当前时间的秒部分 DateTime t = DateTime.Now; //获取当前时间,格式为“年/月/日 星期 时/分/秒” string…
Source = new BitmapImage( new Uri( WangCaiConfig.GetCurrentDirectory() + imgStr, UriKind.RelativeOrAbsolute)) this.PictureImage.Source = new BitmapImage( new Uri(img, UriKind.RelativeOrAbsolute)); Canvas.Right="10": Canvas.SetRight(stateImage,…