Added projects MtApi4 and MtApi5

This commit is contained in:
Vyacheslav Demidyuk
2014-10-31 09:05:52 +02:00
parent 869d3a117b
commit 8746e96416
178 changed files with 26390 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
namespace MtApi
{
class MtApiColorConverter
{
public static Color ConvertFromMtColor(int color)
{
return Color.FromArgb(color);
}
public static int ConvertToMtColor(Color color)
{
return color == Color.Empty ? 0xffffff : (color.ToArgb() & 0xffffff);
}
}
}