Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3929c5c36f | ||
|
|
901d2e522b | ||
|
|
17841b83be | ||
|
|
29b4cc3089 | ||
|
|
0700c05f4c | ||
|
|
8791402e39 | ||
|
|
95115f445d |
No files matched your search
Binary file not shown.
@@ -1220,6 +1220,11 @@ namespace ctlXMLEditLib
|
|||||||
mytextbox.Enter += new System.EventHandler(this.txtBox_Enter);
|
mytextbox.Enter += new System.EventHandler(this.txtBox_Enter);
|
||||||
mytextbox.Leave += new System.EventHandler(this.txtBox_Leave);
|
mytextbox.Leave += new System.EventHandler(this.txtBox_Leave);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//B2026-085 Disable Symbols when leave a TextBox
|
||||||
|
mytextbox.Leave += txtBox_Leave_DisableSymbols;
|
||||||
|
}
|
||||||
|
|
||||||
string labelAnnot;
|
string labelAnnot;
|
||||||
bool imgchld = false;
|
bool imgchld = false;
|
||||||
@@ -1311,7 +1316,12 @@ namespace ctlXMLEditLib
|
|||||||
tb.Text = dfTxt;
|
tb.Text = dfTxt;
|
||||||
tb.ForeColor = SystemColors.GrayText;
|
tb.ForeColor = SystemColors.GrayText;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
txtBox_Leave_DisableSymbols(sender, e);
|
||||||
|
}
|
||||||
|
|
||||||
|
//B2026-085 Disable Symbols when leave a TextBox
|
||||||
|
private void txtBox_Leave_DisableSymbols(object sender, EventArgs e) => OnEnableDisableSymbolsBtn(new ctlXMLEditEventArgs(DisplaySymBolBtn:false));
|
||||||
|
|
||||||
// C2021-026 Event handler for Parent/Child child textbox
|
// C2021-026 Event handler for Parent/Child child textbox
|
||||||
// If the textbox is set to gray, then we are using the parent value
|
// If the textbox is set to gray, then we are using the parent value
|
||||||
|
|||||||
+1293
-1293
File diff suppressed because it is too large.
Load diff
@@ -29,9 +29,9 @@ namespace Volian.Controls.Library
|
|||||||
public DisplayLibDocs()
|
public DisplayLibDocs()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
btnOpenLibDoc.Enabled = false;
|
btnOpenLibDoc.Visible = btnOpenLibDoc.Enabled = false;
|
||||||
btnDelLibDoc.Enabled = false;
|
btnDelLibDoc.Visible = btnDelLibDoc.Enabled = false;
|
||||||
btnPrint.Enabled = listBoxLibDocs.Items.Count > 0;
|
btnPrint.Enabled = listBoxLibDocs.Items.Count > 0;
|
||||||
saveGroupPanelUsages = groupPanelUsages.Style.BackColor;
|
saveGroupPanelUsages = groupPanelUsages.Style.BackColor;
|
||||||
}
|
}
|
||||||
DisplayTabControl _DisplayTabControl;
|
DisplayTabControl _DisplayTabControl;
|
||||||
@@ -107,14 +107,14 @@ namespace Volian.Controls.Library
|
|||||||
groupPanelUsages.Style.BackColor = dicnt.LibraryDocumentUsageList == null || dicnt.LibraryDocumentUsageList.Count == 0 ? this.saveGroupPanelUsages : Color.LightGreen;
|
groupPanelUsages.Style.BackColor = dicnt.LibraryDocumentUsageList == null || dicnt.LibraryDocumentUsageList.Count == 0 ? this.saveGroupPanelUsages : Color.LightGreen;
|
||||||
if (iil == null)
|
if (iil == null)
|
||||||
{
|
{
|
||||||
btnDelLibDoc.Enabled = true;
|
btnOpenLibDoc.Visible = btnOpenLibDoc.Enabled = true;
|
||||||
btnOpenLibDoc.Enabled = true;
|
btnDelLibDoc.Visible = btnDelLibDoc.Enabled = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Put the usages in the usage list for the selected library document.
|
// Put the usages in the usage list for the selected library document.
|
||||||
btnDelLibDoc.Enabled = false;
|
btnOpenLibDoc.Visible = btnOpenLibDoc.Enabled = false;
|
||||||
btnOpenLibDoc.Enabled = false;
|
btnDelLibDoc.Visible = btnDelLibDoc.Enabled = false;
|
||||||
foreach (ItemInfo ii in dicnt.LibraryDocumentUsageList)
|
foreach (ItemInfo ii in dicnt.LibraryDocumentUsageList)
|
||||||
{
|
{
|
||||||
if (ii.MyDocVersion != null)
|
if (ii.MyDocVersion != null)
|
||||||
listBoxUsages.Items.Add($"{ii.MyProcedure} - {ii.DisplayNumber} {ii.DisplayText}");
|
listBoxUsages.Items.Add($"{ii.MyProcedure} - {ii.DisplayNumber} {ii.DisplayText}");
|
||||||
|
|||||||
Reference in new issue
Block a user