Compare commits
7
Commits
93f82b2745
...
B2026-085
| 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.Leave += new System.EventHandler(this.txtBox_Leave);
|
||||
}
|
||||
else
|
||||
{
|
||||
//B2026-085 Disable Symbols when leave a TextBox
|
||||
mytextbox.Leave += txtBox_Leave_DisableSymbols;
|
||||
}
|
||||
|
||||
string labelAnnot;
|
||||
bool imgchld = false;
|
||||
@@ -1311,7 +1316,12 @@ namespace ctlXMLEditLib
|
||||
tb.Text = dfTxt;
|
||||
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
|
||||
// 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()
|
||||
{
|
||||
InitializeComponent();
|
||||
btnOpenLibDoc.Enabled = false;
|
||||
btnDelLibDoc.Enabled = false;
|
||||
btnPrint.Enabled = listBoxLibDocs.Items.Count > 0;
|
||||
btnOpenLibDoc.Visible = btnOpenLibDoc.Enabled = false;
|
||||
btnDelLibDoc.Visible = btnDelLibDoc.Enabled = false;
|
||||
btnPrint.Enabled = listBoxLibDocs.Items.Count > 0;
|
||||
saveGroupPanelUsages = groupPanelUsages.Style.BackColor;
|
||||
}
|
||||
DisplayTabControl _DisplayTabControl;
|
||||
@@ -107,14 +107,14 @@ namespace Volian.Controls.Library
|
||||
groupPanelUsages.Style.BackColor = dicnt.LibraryDocumentUsageList == null || dicnt.LibraryDocumentUsageList.Count == 0 ? this.saveGroupPanelUsages : Color.LightGreen;
|
||||
if (iil == null)
|
||||
{
|
||||
btnDelLibDoc.Enabled = true;
|
||||
btnOpenLibDoc.Enabled = true;
|
||||
return;
|
||||
btnOpenLibDoc.Visible = btnOpenLibDoc.Enabled = true;
|
||||
btnDelLibDoc.Visible = btnDelLibDoc.Enabled = true;
|
||||
return;
|
||||
}
|
||||
// Put the usages in the usage list for the selected library document.
|
||||
btnDelLibDoc.Enabled = false;
|
||||
btnOpenLibDoc.Enabled = false;
|
||||
foreach (ItemInfo ii in dicnt.LibraryDocumentUsageList)
|
||||
// Put the usages in the usage list for the selected library document.
|
||||
btnOpenLibDoc.Visible = btnOpenLibDoc.Enabled = false;
|
||||
btnDelLibDoc.Visible = btnDelLibDoc.Enabled = false;
|
||||
foreach (ItemInfo ii in dicnt.LibraryDocumentUsageList)
|
||||
{
|
||||
if (ii.MyDocVersion != null)
|
||||
listBoxUsages.Items.Add($"{ii.MyProcedure} - {ii.DisplayNumber} {ii.DisplayText}");
|
||||
|
||||
Reference in new issue
Block a user