Enabled insert Next and Previous on the Figure substep type (B2016-111)
Set the cursor focus to the Find Text box when Find/Replace is first started (B2016-107) Added a Cancel button to the “Reopen Last Database” dialog, which will exit PROMS
This commit is contained in:
parent
0697d763f3
commit
65ad595afc
Binary file not shown.
@ -2922,6 +2922,7 @@ namespace VEPROMS
|
|||||||
dlgFindReplace.Mydocversion = _SelectedDVI;
|
dlgFindReplace.Mydocversion = _SelectedDVI;
|
||||||
dlgFindReplace.Visible = true;
|
dlgFindReplace.Visible = true;
|
||||||
dlgFindReplace.MyDisplayBookMarks = displayBookMarks;
|
dlgFindReplace.MyDisplayBookMarks = displayBookMarks;
|
||||||
|
dlgFindReplace.SetFocusToTextBox(); // bug fix: B2016-107, when Find/Replace is initially opened, set the cursor focus to the Find Text box
|
||||||
}
|
}
|
||||||
else if (args.PanelTabName == "SpellChecker")
|
else if (args.PanelTabName == "SpellChecker")
|
||||||
{
|
{
|
||||||
|
@ -261,11 +261,16 @@ public static string DBServer
|
|||||||
{
|
{
|
||||||
if (LastDatabase != "NoDefault" && LastDatabase != "")
|
if (LastDatabase != "NoDefault" && LastDatabase != "")
|
||||||
{
|
{
|
||||||
if (System.Windows.Forms.MessageBox.Show("Open " + LastDatabase, "Reopen Last Database", System.Windows.Forms.MessageBoxButtons.YesNo, System.Windows.Forms.MessageBoxIcon.Question) == System.Windows.Forms.DialogResult.Yes)
|
System.Windows.Forms.DialogResult dlgrslt = System.Windows.Forms.MessageBox.Show("Open " + LastDatabase, "Reopen Last Database", System.Windows.Forms.MessageBoxButtons.YesNoCancel, System.Windows.Forms.MessageBoxIcon.Question);
|
||||||
|
if (dlgrslt == System.Windows.Forms.DialogResult.Yes)
|
||||||
{
|
{
|
||||||
SelectedDatabase = LastDatabase;
|
SelectedDatabase = LastDatabase;
|
||||||
return constr.Replace("{MENU}", _SelectedDatabase);
|
return constr.Replace("{MENU}", _SelectedDatabase);
|
||||||
}
|
}
|
||||||
|
else if (dlgrslt == System.Windows.Forms.DialogResult.Cancel)
|
||||||
|
{
|
||||||
|
Process.GetCurrentProcess().Kill(); // exit PROMS
|
||||||
|
}
|
||||||
}
|
}
|
||||||
System.Windows.Forms.ContextMenuStrip cms = BuildDatabaseMenu(constr);
|
System.Windows.Forms.ContextMenuStrip cms = BuildDatabaseMenu(constr);
|
||||||
while (_SelectedDatabase == null)
|
while (_SelectedDatabase == null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user