This file contains 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.Windows.Forms; | |
namespace _9puzzle | |
{ | |
public partial class Form1 : Form | |
{ | |
// 9つのボタンを配列化するためのコントロール変数 | |
Control[] cell = new Control[9]; |
This file contains 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.Windows.Forms; | |
namespace 画像をピクチャボックスに表示する | |
{ | |
public partial class Form1 : Form | |
{ | |
public Form1() | |
{ | |
InitializeComponent(); |
This file contains 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
/* | |
* 英単語アプリ1 | |
* プロトタイプ | |
* リストに単語が追加される | |
*/ | |
using System; | |
using System.Collections.Generic; | |
using System.Windows.Forms; |
This file contains 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
/* | |
* 英単語アプリ2 | |
* 単語リストに単語を追加する | |
* 終了時に単語リストの内容をファイルに書き出す | |
* 起動時にファイルから単語リストを読み込む | |
*/ | |
using System; | |
using System.Collections.Generic; | |
using System.IO; |
This file contains 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
/* | |
* 英単語アプリ3 | |
* メニュー項目を追加 | |
* ・終了メニュー | |
* ・リストボックス内の単語をソートするメニューを追加 | |
* ABC順にソート | |
* 登録順にソート | |
*/ | |
using System; |
This file contains 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
/* | |
* 英単語アプリ4 | |
* 修正機能を追加 | |
* 単語追加用のテキストボックスを利用して修正する機能を作成 | |
*/ | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Text; |
This file contains 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
/* | |
Visual Studio 2019からMySQLに接続するプログラムを作成する前の準備事項 | |
ファイルメニューから プロジェクト > NuGet パッケージの管理(N)... を選択 | |
参照タブを選択し「mysql」で検索して表示される「MySql.Data」をインストールする | |
*/ | |
using System; | |
// MySQLを使うため |
This file contains 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.Windows.Forms; | |
namespace SelectFolder | |
{ | |
public partial class Form1 : Form | |
{ | |
public Form1() | |
{ | |
InitializeComponent(); |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- index.html --> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="style.css"> | |
<title>テキストボックスの文字数を得る</title> | |
<meta name="viewport" content="width=device-width"> | |
<script type="text/javascript" src="main.js"></script> | |
</head> |
This file contains 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.Windows.Forms; | |
namespace リソースに設定した画像を表示する | |
{ | |
public partial class Form1 : Form | |
{ | |
public Form1() | |
{ | |
InitializeComponent(); |