コード例 #1
0
ファイル: MainMenu.cs プロジェクト: yakkobr/SecureMessage
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SpecialMessageBox multiLinesAbout = new SpecialMessageBox();

            string[] about = new string[]
            {
                "Secure Message Software Tool"
                , ""
                , "VERSION: 1.0"
                , ""
                , "Developed by Nicolas Chen"
            };

            multiLinesAbout.MessageBoxMultiLines(about);
        }
コード例 #2
0
ファイル: DecryptMode.cs プロジェクト: yakkobr/SecureMessage
        private void instructionsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SpecialMessageBox multiLines = new SpecialMessageBox();

            string[] instructions = new string[]
            {
                "DECRYPT MODE"
                , ""
                , "1) Enter your cipher message."
                , ""
                , "2) Click on 'Decrypt the message' to get the initial message."
            };

            multiLines.MessageBoxMultiLines(instructions);
        }
コード例 #3
0
ファイル: MainMenu.cs プロジェクト: yakkobr/SecureMessage
        private void instructionsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SpecialMessageBox multiLines = new SpecialMessageBox();

            string[] instructions = new string[]
            {
                "Welcome to Secure Message Software Tool"
                , ""
                , "This software tool aims to encrypt and decrypt a message."
                , ""
                , "There are two modes:"
                , ""
                , "1) Encrypt the message."
                , ""
                , "2) Decrypt the message"
            };

            multiLines.MessageBoxMultiLines(instructions);
        }
コード例 #4
0
        private void instructionsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SpecialMessageBox multiLines = new SpecialMessageBox();

            string[] instructions = new string[]
            {
                "ENCRYPT MODE"
                , ""
                , "1) Enter your message."
                , ""
                , "2) Click on 'Encrypt the message' to cipher your message."
                , ""
                , "3) Copy the encrypted message and paste in a text file."
                , ""
                , "4) Send this text file to your recipient."
                , ""
                , "5) The recipient shall use this tool to decrypt your message."
            };

            multiLines.MessageBoxMultiLines(instructions);
        }