Example #1
0
 private void TryConnectPcBase(string path)
 {
     if (!DataConnections.SetPCBase(path))
     {
         MessageBox.Show(Localization.CantLoadFileString);
     }
 }
Example #2
0
        private void btnCreateStorageFile_Click(object sender, EventArgs e)
        {
            SaveFileDialog saveFileDialog = new SaveFileDialog();

            saveFileDialog.ShowDialog();
            if (!DataConnections.SetPCBase(saveFileDialog.FileName))
            {
                DataConnections.DropPcBase();
            }
            RebindAll();
        }