• R/O
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

テンキー押下でWin32アプリのウインドウをキャプチャする。ただしUWPアプリはキャプチャできない。


Commit MetaInfo

Revision123 (tree)
Time2018-03-14 22:38:46
Authorhor931101jp

Log Message

(empty log message)

Change Summary

Incremental Difference

--- trunk/TenKeyCaptureCS/ClassLog.cs (revision 122)
+++ trunk/TenKeyCaptureCS/ClassLog.cs (revision 123)
@@ -175,7 +175,7 @@
175175 /***********************************************************//*!
176176 * @brief ログ表示部からログをすべて削除
177177 * @date 2018-02-10
178- * @details クリアされるのはログ表示のみ。ログ保存用文字列からは削除しない。
178+ * @details 削除されるのはログ表示のみ。ログ保存用文字列からは削除しない。
179179 **************************************************************/
180180 public void Clear()
181181 {
@@ -194,15 +194,6 @@
194194 private string _ShadowBuf = "";
195195
196196 /***********************************************************//*!
197- * @brief コンストラクタ
198- * @date 2018-02-10
199- * @details
200- **************************************************************/
201- public ClassCSV()
202- {
203- }
204-
205- /***********************************************************//*!
206197 * @brief CSVに保存する文字列を一時的に文字列に保存する。
207198 * @date 2018-02-10
208199 * @param[in] stradd テンキーに設定された文字列
@@ -236,11 +227,14 @@
236227 {
237228 return;
238229 }
239- Log.Put("CSVSave()");
230+ //Log.Put("CSV.Save()");
240231
241232 try
242233 {
243- // 追記モードで書き込み
234+ //! データフォルダ作成(ユーザーが消してしまった場合に備えて)
235+ Directory.CreateDirectory(AppFolder() + "\\" + NowTime.ToString("yyMMdd") + "\\");
236+
237+ //! 追記モードで書き込み
244238 using (StreamWriter sw = new StreamWriter(
245239 AppFolder() + "\\" + NowTime.ToString("yyMMdd") + "\\" + NowTime.ToString("yyMMdd") + ".csv",
246240 true,
@@ -251,11 +245,10 @@
251245 sw.Write(_ShadowBuf);
252246 }
253247 _ShadowBuf = "";
254- //Log.Put("CSVSave()");
255248 }
256249 catch (Exception e)
257250 {
258- Log.Put("CSVSave():Exception" + e.Message);
251+ Log.Put("CSV.Save():Exception" + e.Message);
259252 }
260253 }
261254 }
--- trunk/TenKeyCaptureCS/ClassMyCommon.cs (revision 122)
+++ trunk/TenKeyCaptureCS/ClassMyCommon.cs (revision 123)
@@ -24,7 +24,7 @@
2424 public const string TITLE = "TenKeyCapture";
2525
2626 //! プログラムのバージョン
27- public const string VERSION = "00.21-180314";
27+ public const string VERSION = "00.21-180315";
2828
2929 //! プログラム開始時の表示メッセージ
3030 public const string OPENING_MSG
@@ -111,7 +111,7 @@
111111 /***********************************************************//*!
112112 * @brief 自身の exe ファイルの存在するフォルダを返す
113113 * @date 2018-02-10
114- * @details パスは string で最後に '\' 付かない
114+ * @details パスは最後に '\' 付かない
115115 **************************************************************/
116116 public static string AppFolder()
117117 {