Added mainboard specific configurations for the following Gigabyte mainboards: EX58-UD3R, G41M-Combo, G41MT-S2, G41MT-S2P, GA-MA770T-UD3P, GA-MA785GM-US2H, GA-MA78LM-S2H, GA-MA790X-UD3P, H55-USB3, H55N-USB3, H61M-DS2 REV 1.2, H61M-USB3-B3 REV 2.0, H67A-USB3-B3, P55A-UD3, P67A-UD3-B3, P67A-UD3R-B3, Z68A-D3H-B3, Z68AP-D3, Z68X-UD3H-B3.
3 using System.Reflection;
4 using System.Windows.Forms;
5 using System.Collections.Generic;
10 public static class ResourceHelper
12 // VSpilt Cursor with Innerline (symbolisize hidden column)
13 private static Cursor _dVSplitCursor = GetCursor(Properties.Resources.DVSplit);
14 public static Cursor DVSplitCursor
16 get { return _dVSplitCursor; }
19 private static GifDecoder _loadingIcon = GetGifDecoder(Properties.Resources.loading_icon);
20 public static GifDecoder LoadingIcon
22 get { return _loadingIcon; }
26 /// Help function to convert byte[] from resource into Cursor Type
28 /// <param name="data"></param>
29 /// <returns></returns>
30 private static Cursor GetCursor(byte[] data)
32 using (MemoryStream s = new MemoryStream(data))
37 /// Help function to convert byte[] from resource into GifDecoder Type
39 /// <param name="data"></param>
40 /// <returns></returns>
41 private static GifDecoder GetGifDecoder(byte[] data)
43 using(MemoryStream ms = new MemoryStream(data))
44 return new GifDecoder(ms, true);