Ejemplo n.º 1
0
        private void saveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var lstModInfos = _gridUiHelper.ParseAllTables();

            bool success;

            try
            {
                // start the process
                WaitingForm.ShowForm(this);

                success = TranslationManager.SaveGridData(_configHelper.GetLastPathOfDataFiles(), lstModInfos);

                WaitingForm.CloseForm();
            }
            catch (Exception exception)
            {
                Logger.Log(exception.Message);
                throw;
            }

            if (success)
            {
                Logger.Log(Resources.GridUI_saveToolStripMenuItem_Click_Successfully_saved);
            }
        }
Ejemplo n.º 2
0
        private void saveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var lstModInfos = _gridUiHelper.ParseAllTables();

            var success = TranslationManager.SaveGridData(ConfigHelper.GetLastPathOfDataFiles(), lstModInfos);

            if (success)
            {
                Logger.Log(Resources.GridUI_saveToolStripMenuItem_Click_Successfully_saved);
            }
        }
Ejemplo n.º 3
0
        private void saveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            List <ModInfoContainer> lstModInfos = _gridUiHelper.ParseAllTables();

            TranslationManager.SaveGridData(ConfigHelper.GetLastPathOfDataFiles(), lstModInfos);
        }