Ejemplo n.º 1
0
        private void exportConversationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string path     = Prompt.Show("Podaj ścieżkę:", "");
            string fileName = Prompt.Show("Podaj nazwę pliku:", "conversations.html");

            TextFileTools.writeFile(path, fileName, wbMessages.DocumentText.ToString());
        }
Ejemplo n.º 2
0
        private void importConversationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string path     = Prompt.Show("Podaj ścieżkę:", "");
            string fileName = Prompt.Show("Podaj nazwę pliku:", "conversations.html");
            string data     = TextFileTools.readFile(path, fileName);

            wbMessages.DocumentText = data;
        }