Пример #1
0
        private void LoadFromDBButton_Click(object sender, EventArgs e)
        {
            Console.WriteLine("LoadFromDBButton clicked.");
            DBBinder dbBinder = new DBBinder();

            richTextBox1.Text = dbBinder.GetLatestFileContents();
        }
Пример #2
0
        private void SaveToDBButton_Click(object sender, EventArgs e)
        {
            Console.WriteLine("SaveToDBButton clicked.");
            DBBinder dbBinder = new DBBinder();

            dbBinder.UploadFileContents(richTextBox1.Text);
        }