Skip to content

Commit

Permalink
Localized DBSelectionForm
Browse files Browse the repository at this point in the history
  • Loading branch information
denisenkom committed Oct 22, 2013
1 parent 9d60c3b commit 886a153
Show file tree
Hide file tree
Showing 8 changed files with 315 additions and 115 deletions.
3 changes: 3 additions & 0 deletions CutOptima/CutOptima.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,9 @@
<SubType>Designer</SubType>
<DependentUpon>CuttingResultForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DBSelectionForm.ru.resx">
<DependentUpon>DBSelectionForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DetailsListForm.ru.resx">
<DependentUpon>DetailsListForm.cs</DependentUpon>
</EmbeddedResource>
Expand Down
29 changes: 29 additions & 0 deletions CutOptima/DBSelectionForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions CutOptima/DBSelectionForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private void okButton_Click(object sender, EventArgs e)
catch (Exception ex)
{
if (MessageBox.Show(ex.Message + Environment.NewLine +
"Продолжить?", "Ошибка", MessageBoxButtons.YesNo,
strings.Continue + "?", strings.Error, MessageBoxButtons.YesNo,
MessageBoxIcon.Error) == DialogResult.Yes)
{
m_currentDB = databasesListBox.SelectedIndex;
Expand All @@ -71,7 +71,7 @@ private void databasesListBox_DoubleClick(object sender, EventArgs e)
catch (Exception ex)
{
if (MessageBox.Show(ex.Message + Environment.NewLine +
"Продолжить?", "Ошибка", MessageBoxButtons.YesNo,
strings.Continue + "?", strings.Error, MessageBoxButtons.YesNo,
MessageBoxIcon.Error) == DialogResult.No)
{
return;
Expand Down
Loading

0 comments on commit 886a153

Please sign in to comment.