RcBuilder@walla.com
call centre: 054-5614020

Translations class example

Posted by: RcBuilder  /   Category: Controls / Converters / Dictionary / Enum / SOURCE CODE   /   No Comments
06
Nov
2014

Translations class example namespace Translations { public class Months { private Entities.Cultures.eCountryCode DefaultCountry = Entities.Cultures.eCountryCode.EN; private Dictionary<Entities.Cultures.eCountryCode, Dictionary<string, string>> _Data = new Dictionary<Entities.Cultures.eCountryCode, Dictionary<string, string>> { { #region CN: Entities.Cultures.eCountryCode.CN, new Dictionary<string, string> { { "01", "一月" }, { "02", "二月" }, { "03", "三月" }, { "04", "四月" }, { "05", "五月" }, { "06", "六月" }, { "07", "七月" }, { "08", "八月" }, { "09", "九月" }, { "10", "十月" }, { "11", "十一月".

Read more

Write To Event Log

Posted by: RcBuilder  /   Category: Enum / Event Log / SOURCE CODE   /   No Comments
30
Jul
2014

Write To Event Log using System.Diagnostics; // event Log /// <summary> /// Write To Windows Event Log -> Control Panel - administrative Tools - Event Viewer /// </summary> /// <param name="Entry"> /// Message To Write To The Log /// </param> /// <param name="Source"> /// Log Name /// </param> /// <param name="EventType"> /// Error / Information / Warning / Failure / Success /// (enum) EventLogEntryType. /// </param> /// <param name="EventID"> /// Log.

Read more

Enum default value

Posted by: RcBuilder  /   Category: BUGS / Enum / SOURCE CODE   /   No Comments
08
May
2014

Enum default value notice! enum default value is always 0!!! enum eName { ROBY = 10, AVI = 20, TAL = 30, YURI = 40 } class Class1 { private eName name { set; get; } // default 0 public void SayMyName() { Console.WriteLine("MY NAME IS " + this.name); // "MY NAME IS 0" } } ------------------------------------------- Class1 c = new.

Read more
  • פיתוח מערכות
  • פתרונות טכנולוגים
  • קידום אתרים
  • בניית אתרים