public enum Suit{HEARTS, SPADES, CLUBS, DIAMONDS}int ordianol = 1Suit foo = Suit.values()[ ordinal ];
public enum Suit{HEARTS, SPADES, CLUBS, DIAMONDS}int ordianol = 1Suit foo = Suit.values()[ ordinal ];
PictureBox[] boxes = new PictureBox[30];for (i=0; i<30; i++) boxes[i] = new PictureBox();
PictureBox[] boxes = new PictureBox[30];for (i=0; i<30; i++) boxes[i] = new PictureBox();
Dim pictures(30) as PictureBox'I have no idea if this is required:for i = 0 to 30 pictures(i) = New PictureBox()next
Dim pictures(30) as PictureBox'I have no idea if this is required:for i = 0 to 30 pictures(i) = New PictureBox()next
//method to remove the selected mod key from the registry public bool RemoveKey(Preset p) { try { RegistryKey ModKey = Registry.LocalMachine.OpenSubKey(ModKeyLocation, true); if (ModKey != null) { string[] SubKeys = ModKey.GetSubKeyNames(); for(int i = 0; i <= SubKeys.Length; i++) { if(SubKeys[i].Contains(p.FullName)) { ModKey.DeleteSubKey(SubKeys[i]); } } } return true; } catch { return false; } }
An example assignment XML file 3 2/7/2011 3/1/2011
An example assignment XML file 3 2/7/2011 3/1/2011