Atmo.UI.DevEx.MainForm.DownloadDataDialog C# (CSharp) Method

DownloadDataDialog() private method

private DownloadDataDialog ( bool auto = false ) : void
auto bool
return void
        private void DownloadDataDialog(bool auto = false)
        {
            try {
                var importForm = new ImportDataForm(_dbStore, _deviceConnection){
                    AutoImport = true,
                    PersistentState = AppContext.PersistentState
                };
                importForm.ShowDialog(this);
            }
            catch(Exception ex) {
                Log.Error("Download data failed.", ex);
            }
            ReloadHistoric();
        }
MainForm