private void mnuSave_Click(object sender, EventArgs e) { if (Tdb.SaveTdbToFile(lblFile.Text)) { lblFile.ForeColor = Color.Blue; } }
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; } }