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
/// <summary> | |
/// タイ語かどうか判定 | |
/// </summary> | |
/// <param name="inStr">判定する文字列</param> | |
/// <returns>タイ語が含まれていたらtrue</returns> | |
private bool isContainThaiChar(string inStr) | |
{ | |
char[] thaiChar = {'ก', 'ข', 'ฃ', 'ค', 'ฅ', 'ฆ', 'ง', 'จ', 'ฉ', 'ช', 'ซ', 'ฌ', 'ญ', 'ฎ', 'ฏ', 'ฐ', 'ฑ', 'ฒ', 'ณ', 'ด', 'ต', 'ถ', 'ท', 'ธ', 'น', 'บ', 'ป', 'ผ', 'ฝ', 'พ', 'ฟ', 'ภ', 'ม', 'ย', 'ร', 'ฤ', 'ล', 'ฦ', 'ว', 'ศ', 'ษ', 'ส', 'ห', 'ฬ', 'อ', 'ฮ', 'ฯ', 'ะ', 'า', '฿', 'เ', 'แ', 'โ', 'ใ', 'ไ', 'ๅ', 'ๆ', '๏', '๐', '๑', '๒', '๓', '๔', '๕', '๖', '๗', '๘', '๙', '๚', '๛'}; | |
foreach (var item in thaiChar) | |
{ |
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
private void button1_Click(object sender, RoutedEventArgs e) | |
{ | |
string sample = "トトリちゃんかわいい http://totori.dip.jp @misodengaku "; | |
var f = sample.Split(new char[] { ' '}); | |
var para = new Paragraph(); | |
foreach (var item in f) | |
{ | |
if (item.StartsWith("http")) //Webページ開く(判定雑すぎ) | |
{ | |
var link = new Hyperlink(); //Hyperlinkオブジェクト作成 |
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.IO; | |
using System.Net; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace TotoriDownloader | |
{ | |
class Program |
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
アメリカ南部の死刑囚舎房を舞台に、不思議な力を持つ死刑囚と看守たちとの心の交流を描く。 | |
1935年、死刑囚舎房で看守を務めていたポールのもとに、ある死刑囚が送られてくる。 | |
彼との交流を深めていった看守たちは、やがて彼の罪を疑問視するようになるが・・・。 |
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
--- merge_chr_from_cst2.cpp Thu Dec 13 01:04:24 2012 | |
+++ cst.cpp Thu Dec 13 01:04:26 2012 | |
@@ -8,11 +8,16 @@ | |
// Damnit | |
-#include "as-util.h" | |
+#define ZLIB_WINAPI | |
#include "zlib.h" | |
- |
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
#define offset_x 1195//差分画像の位置 | |
#define offset_y 82//なぜ変数にしなかったか | |
picload "元" | |
buffer 1 | |
picload "差分(目とか)" | |
x = ginfo_winx | |
y = ginfo_winy | |
screen 2//プレビュー用 bufferだのredrawだのお好きに |
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 NTwain; | |
using NTwain.Data; | |
using NTwain.Values; | |
using System; | |
using System.Windows.Forms; | |
namespace scantest | |
{ | |
public partial class Form1 : Form | |
{ |
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
(text:"ロロナ" | (text:"トトリ" & text!:"トリプル") | text:"メルル" | text:"totori" | text:"meruru" | text:"rorona") |
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
/***********************************************************************/ | |
/* */ | |
/* FILE :Kakiren2.c */ | |
/* DATE :Fri, Feb 08, 2013 */ | |
/* DESCRIPTION :Main Program */ | |
/* CPU TYPE :H8/3694F */ | |
/* */ | |
/* This file is generated by Renesas Project Generator (Ver.4.16). */ | |
/* */ | |
/***********************************************************************/ |
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
/* | |
* Original source by Krile2. | |
* | |
* | |
* Krile License Agreement (The MIT/X11 License) | |
* Krile : Copyright (c) 2011 Karno. | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
* | |
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. |
OlderNewer