コード例 #1
0
ファイル: Global.cs プロジェクト: squideyes/DoorPrize
        static Global()
        {
            AppInfo = new AppInfo(typeof(Global).Assembly);

            AccountPhone = Properties.Settings.Default.AccountPhone;

            DisplayPhone = string.Format("+1 ({0}) {1}-{2}",
                AccountPhone.Substring(0, 3),
                AccountPhone.Substring(3, 3),
                AccountPhone.Substring(6));
        }
コード例 #2
0
ファイル: Modal.cs プロジェクト: squideyes/DoorPrize
 static Modal()
 {
     appInfo = new AppInfo(Assembly.GetEntryAssembly());
 }