コード例 #1
0
ファイル: Form1.cs プロジェクト: felix11/MSP-Workshops
        private void dataModeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CurrentFileChar cfc = new CurrentFileChar();

            cfc.ShowDialog();

            if (cfc.dialogResult == System.Windows.Forms.DialogResult.OK)
            {
                currentInputChar        = cfc.ResultChar;
                currentInputFileCounter = 0;

                currentInputFile  = currentInputChar + currentInputFileCounter;
                actionButton.Text = ">>> save >>>";
                outputBox.Text    = "File area";
                outputLabel.Text  = currentInputFile;
            }
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: felix11/MSP-Workshops
        private void dataModeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CurrentFileChar cfc = new CurrentFileChar();
            cfc.ShowDialog();

            if (cfc.dialogResult == System.Windows.Forms.DialogResult.OK)
            {
                currentInputChar = cfc.ResultChar;
                currentInputFileCounter = 0;

                currentInputFile = currentInputChar + currentInputFileCounter;
                actionButton.Text = ">>> save >>>";
                outputBox.Text = "File area";
                outputLabel.Text = currentInputFile;
            }
        }