Exemple #1
0
 private void mnuSave_Click(object sender, EventArgs e)
 {
     if (Tdb.SaveTdbToFile(lblFile.Text))
     {
         lblFile.ForeColor = Color.Blue;
     }
 }
Exemple #2
0
        private void mnuSaveAs_Click(object sender, EventArgs e)
        {
            SaveFileDialog sfd = new SaveFileDialog();

            sfd.Filter = "*.tdb|*.tdb";
            if (sfd.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            if (Tdb.SaveTdbToFile(sfd.FileName))
            {
                lblFile.Text      = sfd.FileName;
                lblFile.ForeColor = Color.Blue;
            }
        }