C2013-009: Use PDF Location text box on General Tab for setting location and remove PDF Location text box on Settings Tab
B2013-173: Print Shortcut - when multiple tabs are open, Ctrl-P now prints correct procedure
This commit is contained in:
@@ -110,11 +110,6 @@ namespace VEPROMS
|
||||
get { return txbReviewDate.Text; }
|
||||
set { txbReviewDate.Text = value; }
|
||||
}
|
||||
public string PDFPathSetting
|
||||
{
|
||||
get { return txbPdfLocationS.Text; }
|
||||
set { txbPdfLocationS.Text = value; }
|
||||
}
|
||||
public DlgPrintProcedure(DocVersionInfo dvi, bool automatic)
|
||||
{
|
||||
_Automatic = automatic;
|
||||
@@ -816,27 +811,14 @@ namespace VEPROMS
|
||||
}
|
||||
}
|
||||
private bool _Initializing = false;
|
||||
private void tbSettings_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Fill in the settings from the config. This tab is used
|
||||
// to update the settings for PdfLocation, RevNum, RevDate and ReviewDate
|
||||
_Initializing = true;
|
||||
txbPdfLocationS.Text = txbPDFLocation.Text;
|
||||
_Initializing = false;
|
||||
}
|
||||
|
||||
|
||||
private void btnPdfLocation_Click(object sender, EventArgs e)
|
||||
{
|
||||
DlgBrowseFolder.SelectedPath = PDFPathSetting;
|
||||
DlgBrowseFolder.SelectedPath = PDFPath;
|
||||
DialogResult drslt = DlgBrowseFolder.ShowDialog();
|
||||
if (drslt == DialogResult.OK)
|
||||
{
|
||||
//cbxPDFloc.Text = DlgBrowseFolder.SelectedPath;
|
||||
txbPdfLocationS.Text = DlgBrowseFolder.SelectedPath;
|
||||
txbPDFLocation.Text = txbPdfLocationS.Text;
|
||||
//lblCurPDFLoc.Text = cbxPDFloc.Text;
|
||||
//UpdateDropDown2();
|
||||
txbPDFLocation.Text = DlgBrowseFolder.SelectedPath;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user