• Content count

  • Joined

  • Last visited

Community Reputation

123 Neutral

About jhunt1

  • Rank
  1. It's common to either put content in Zip files or store your content as blobs in a SQLite database.
  2. If you want to "animate" this action... you could do something like this: (I threw this together in a matter of a couple of minutes, and could use some work, but I think you'll get the idea) private void MoveFormUp() { Screen curScreen = Screen.FromControl(this); int y = curScreen.WorkingArea.Height - this.Height; while(this.Location.Y > y) { this.Location = new Point(this.Location.X, this.Location.Y - 2); } } You'll need to obviously add some error checking, and you can play with the value that you decrement by to speed up or slow down the animation. Your best bet is to have the form resize, and then animate to the new location, rather than have both happen (or be animated) at the same time.
  3. The company I work for creates Kiosk applications, and we use WPF. This is basically how we do the bulk of our animations for our transitions, but you need to make a few adjustments: DoubleAnimation da = new DoubleAnimation(); da.Duration = new Duration(TimeSpan.FromSeconds(4.0)); da.From = 10; da.To = 30; Storyboard sbText = new Storyboard(); // you don't need to set storyboard's duration. it will be set to double animation's // use SetTargetName, and pass in the TextBlock object's name Storyboard.SetTargetName(da, gameResult.Name); // Make sure you are using TextBlock.FontSizeProperty Storyboard.SetTargetProperty(da, new PropertyPath(TextBlock.FontSizeProperty)); sbText.Children.Add(da); sbText.Begin(this); gameResult.Text = "Player Busted!"; And to answer your last question, there is a MarginProperty for Image. When you are setting the TargetProperty, be sure you are using new PropertyPath(TextBlock.FontSizeProperty) or new PropertyPath(Image.MarginProperty)
  4. TrueCrypt will treat an encrypted file as a mounted drive. You would create a file of a fixed size, say 2 Gigs, and use TrueCrypt to mount it as drive Q: for example. When it is mounted, it's treated as any other drive on your system, you can navigate it with Explorer, save to it, etc. When it's unmounted, there's no indication at all what the file is or does. You would just mount the encrypted file prior to starting up Visual Studio.
  5. Another option you could consider is http://www.truecrypt.org/ and use it to encrypt your files. I would create an encrypted file inside your folder, and then use TrueCrypt to mount that file as a drive. If you are unable to install software on the computer, TrueCrypt may also be used as a portable application. Using encryption will boost your security so that even if someone logged into your account or had admin privleges and could access your directory, they would still have to have your TC password to even get to your data.