Center dialog over PROMS window

Overlay bottom of dialog with printing status dialog to hide buttons.
Correct spelling of DebugPagination.txt file
Fix table layout - Linespacing and text within borders
Set the yOffset to an integer value after a Table - This was causing some very strange pagination problems.
Output one blank line after a figure.
This commit is contained in:
Rich
2012-09-25 21:01:10 +00:00
parent 17d0839e6c
commit 747fd76f21
4 changed files with 28 additions and 13 deletions

View File

@@ -362,7 +362,7 @@ namespace VEPROMS
if (dvi == null) return;
tc.SaveCurrentEditItem();
DlgPrintProcedure prnDlg = new DlgPrintProcedure(dvi);
prnDlg.Show();
prnDlg.Show(this); // RHM 20120925 - Center dialog over PROMS window
}
void tv_PrintProcedure(object sender, vlnTreeEventArgs args)
{
@@ -370,7 +370,7 @@ namespace VEPROMS
if (pi == null) return;
tc.SaveCurrentEditItem(pi);
DlgPrintProcedure prnDlg = new DlgPrintProcedure(pi);
prnDlg.Show();
prnDlg.Show(this); // RHM 20120925 - Center dialog over PROMS window
}
void RefreshDisplayHistory(object sender)
{
@@ -422,7 +422,7 @@ namespace VEPROMS
ProcedureInfo pi = args.Proc as ProcedureInfo;
if (pi == null) return;
DlgPrintProcedure prnDlg = new DlgPrintProcedure(pi);
prnDlg.Show();
prnDlg.Show(this); // RHM 20120925 - Center dialog over PROMS window
}
void displaySearch1_PrintRequest(object sender, DisplaySearchEventArgs args)
{
@@ -592,7 +592,7 @@ namespace VEPROMS
if (dvi != null)
{
DlgPrintProcedure prnDlg = new DlgPrintProcedure(dvi,true);
prnDlg.ShowDialog();
prnDlg.ShowDialog(this); // RHM 20120925 - Center dialog over PROMS window
//prnDlg.FormClosed += new FormClosedEventHandler(prnDlg_FormClosed);
//while (!_RunNext) Application.DoEvents();
ranAuto = true;
@@ -1895,7 +1895,7 @@ namespace VEPROMS
//}
//string pnum = DisplayText.StaticStripRtfCommands(this._CurrentItem.MyProcedure.ProcedureConfig.Number).Replace("\\u8209?", "-");
DlgPrintProcedure prnDlg = new DlgPrintProcedure(this._CurrentItem.MyProcedure);//dvi.DocVersionConfig,pnum);
prnDlg.Show();
prnDlg.Show(this); // RHM 20120925 - Center dialog over PROMS window
}
private void lblResolution_Click(object sender, EventArgs e)