This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Runtime.InteropServices; | |
using System.Windows.Forms; | |
using System.Drawing; | |
namespace dxtest | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
namespace remapsmoke | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// damage per second evaluation for OpenRA mods | |
using System; | |
using System.IO; | |
using System.Linq; | |
using OpenRA; | |
using OpenRA.FileFormats; | |
using OpenRA.GameRules; | |
using OpenRA.Traits; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static class VariableHeightItems | |
{ | |
[DllImport("user32")] | |
static extern IntPtr SendMessage(IntPtr hwnd, uint msg, IntPtr wp, IntPtr lp); | |
[StructLayout(LayoutKind.Sequential)] | |
struct TVITEMEX | |
{ | |
public Mask mask; | |
public IntPtr item; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
using System.Windows.Forms; | |
using System.Globalization; | |
namespace formatter | |
{ | |
// supported codes: | |
// \fb; \fr; -- font bold/regular. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// C# bindings for the Clang C API | |
// requires clang.dll from llvm to work. | |
using System; | |
using System.Runtime.InteropServices; | |
namespace ClangApi | |
{ | |
using Index = IntPtr; | |
using File = IntPtr; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Diagnostics; | |
using System.IO; | |
namespace fooTest | |
{ | |
class CompletionProvider |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Tiberium green -> blue remapper. | |
using System.Drawing; | |
using System.IO; | |
using System.Drawing.Imaging; | |
using System; | |
using System.Collections.Generic; | |
namespace remaptib | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace blah | |
{ | |
[Flags] | |
enum Foos { Foo = 1, Bar = 2, Baz = 4 } | |
class Program | |
{ | |
static void Main(string[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Threading; | |
namespace wctest | |
{ | |
static class Program |