Compare commits
20 Commits
B2026-034
...
f47fa49b80
| Author | SHA1 | Date | |
|---|---|---|---|
| f47fa49b80 | |||
| 6ade96c7ef | |||
| 61d31a3c67 | |||
| 014509ea30 | |||
| 1ce1a45ca6 | |||
| b6da13a653 | |||
| 604b4d1751 | |||
| 874aaf2857 | |||
| 17a28def4e | |||
| e72a1aa9e7 | |||
| 7b96ef1b4c | |||
| ea048e6d82 | |||
| 109abfb4ad | |||
| 3f662ab19d | |||
| b0de38909a | |||
| 267de44103 | |||
| b7b0e55d94 | |||
| c0d12f5721 | |||
| 27a945485f | |||
| 7b649c4a62 |
@@ -418,7 +418,7 @@ namespace ROEditor
|
|||||||
// NOTE: not doing the "Using System.Threading;" statement at beginning of file because it conflicts with the declaration of the "Timer" variable
|
// NOTE: not doing the "Using System.Threading;" statement at beginning of file because it conflicts with the declaration of the "Timer" variable
|
||||||
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
|
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
|
||||||
|
|
||||||
// The data path the was passed in.
|
// The data path the was passed in.
|
||||||
DbConnectPath = PassedInPath;
|
DbConnectPath = PassedInPath;
|
||||||
|
|
||||||
// Setup the context menu
|
// Setup the context menu
|
||||||
@@ -2844,7 +2844,8 @@ namespace ROEditor
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
newt=null;
|
mnutitle = Regex.Replace(mnutitle, @"\\u([0-9]{1,4})\?", m => Convert.ToChar(int.Parse(m.Groups[1].Value)).ToString()); // RO Editor add symbols C2022
|
||||||
|
newt =null;
|
||||||
success = myrodb.RODB_WriteRO((VlnXmlElement)roTreeView.SelectedNode.Tag);
|
success = myrodb.RODB_WriteRO((VlnXmlElement)roTreeView.SelectedNode.Tag);
|
||||||
if (success==true && mnutitle != "") roTreeView.SelectedNode.Text = mnutitle; //B2021-077 make sure mnutitle has text or it will clear the node's title in the tree
|
if (success==true && mnutitle != "") roTreeView.SelectedNode.Text = mnutitle; //B2021-077 make sure mnutitle has text or it will clear the node's title in the tree
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,147 @@
|
|||||||
|
/*****************************************************************************
|
||||||
|
Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
||||||
|
Copyright 2026 - Volian Enterprises, Inc. All rights reserved.
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
|
-- =============================================
|
||||||
|
-- Author: Matthew Schill
|
||||||
|
-- Create date: 03/20/2026
|
||||||
|
-- Description: Script to consolidate Cover Pages for Barakah
|
||||||
|
-- by Converting multi-unit procedures with Cover Pages
|
||||||
|
-- to use 1 Library Document Cover Page
|
||||||
|
-- =============================================
|
||||||
|
|
||||||
|
select Contents.ContentID
|
||||||
|
, Contenttext = Contents.Text
|
||||||
|
, Items.ItemID
|
||||||
|
, tblDocuments.DocID
|
||||||
|
, ParentContentID
|
||||||
|
, ParentItemID
|
||||||
|
, LibTitle = ISNULL(LibTitle,'')
|
||||||
|
, numLibCP
|
||||||
|
, numCP
|
||||||
|
,BaseFlag = 0
|
||||||
|
INTO #tmpUpdate
|
||||||
|
from Contents
|
||||||
|
inner join Entries on Contents.ContentID = Entries.ContentID
|
||||||
|
inner join tblDocuments on tblDocuments.DocID = Entries.DocID
|
||||||
|
inner join Items on Items.ContentID = Contents.ContentID
|
||||||
|
outer apply
|
||||||
|
(select ParentContentID=ContentID, ParentItemID = PItm.ItemID
|
||||||
|
FROM dbo.vefn_ParentItems(Items.ItemID) PItm
|
||||||
|
where PItm.ItemID <> Items.ItemID
|
||||||
|
) parent
|
||||||
|
outer apply
|
||||||
|
(select numLibCP = Count(*)
|
||||||
|
FROM dbo.vefn_ChildItems(ParentItemID) PItm
|
||||||
|
INNER JOIN Contents on Contents.ContentID = PItm.ContentID
|
||||||
|
INNER JOIN Entries on Contents.ContentID = Entries.ContentID
|
||||||
|
INNER JOIN tblDocuments on tblDocuments.DocID = Entries.DocID
|
||||||
|
where PItm.ItemID <> ParentItemID
|
||||||
|
AND Contents.text like 'Cover Page%' and ISNULL(tblDocuments.LibTitle,'') <> ''
|
||||||
|
) childWithLibTitle
|
||||||
|
outer apply
|
||||||
|
(select numCP = Count(*)
|
||||||
|
FROM dbo.vefn_ChildItems(ParentItemID) PItm
|
||||||
|
INNER JOIN Contents on Contents.ContentID = PItm.ContentID
|
||||||
|
where PItm.ItemID <> ParentItemID
|
||||||
|
AND Contents.text like 'Cover Page%'
|
||||||
|
) child
|
||||||
|
where Contents.text like 'Cover Page%'
|
||||||
|
order by ParentContentID asc, CASE WHEN ISNULL(LibTitle,'') <> '' THEN 1 ELSE 2 END asc, Contents.Text asc
|
||||||
|
|
||||||
|
UPDATE #tmpUpdate SET BaseFlag = 1 where LibTitle <> '' and numLibCP = 1
|
||||||
|
|
||||||
|
UPDATE #tmpUpdate SET BaseFlag = CASE WHEN tU.LibTitle <> '' THEN 1 ELSE 2 END FROM #tmpUpdate tU
|
||||||
|
where BaseFlag = 0 AND tU.ContentID IN
|
||||||
|
(
|
||||||
|
Select ContentID FROM
|
||||||
|
(SELECT sub.ContentID,
|
||||||
|
row_number() OVER(PARTITION BY sub.ParentContentID ORDER BY CASE WHEN ISNULL(sub.LibTitle,'') <> '' THEN 1 ELSE 2 END asc, sub.Contenttext asc) as pos
|
||||||
|
FROM #tmpUpdate sub
|
||||||
|
) x
|
||||||
|
WHERE x.pos = 1
|
||||||
|
)
|
||||||
|
|
||||||
|
declare @Cont TABLE
|
||||||
|
(
|
||||||
|
ContentID int,
|
||||||
|
ItemID int,
|
||||||
|
xConfig xml
|
||||||
|
)
|
||||||
|
insert into @Cont
|
||||||
|
SELECT tU.ContentID, ItemID, xConfig = CAST(tblContents.config AS xml) FROM
|
||||||
|
tblContents
|
||||||
|
INNER JOIN
|
||||||
|
#tmpUpdate tU ON tU.ContentID = tblContents.ContentID
|
||||||
|
where tU.BaseFlag > 0
|
||||||
|
|
||||||
|
Update @Cont Set xConfig.modify('delete //MasterSlave') From @Cont;
|
||||||
|
|
||||||
|
Update tblContents SET Text = 'Cover Page', Config = CAST(xConfig AS varchar(max)),
|
||||||
|
DTS = GETDATE(), UserID = 'CPVolian2026'
|
||||||
|
FROM
|
||||||
|
@Cont CNT INNER JOIN
|
||||||
|
tblContents ON CNT.ContentID = tblContents.ContentID;
|
||||||
|
|
||||||
|
--Update items PreviousIds
|
||||||
|
UPDATE tblItems Set PreviousID = IdToSwapTO.ItemID
|
||||||
|
FROM
|
||||||
|
tblItems
|
||||||
|
INNER JOIN
|
||||||
|
#tmpUpdate tU ON tblItems.PreviousID = tU.ItemID AND tU.BaseFlag = 0
|
||||||
|
INNER JOIN #tmpUpdate IdToSwapTO ON IdToSwapTO.ParentContentID = tU.ParentContentID AND IdToSwapTO.BaseFlag IN (1,2)
|
||||||
|
|
||||||
|
UPDATE tblItems Set DeleteStatus = 1, DTS = GETDATE(), UserID = 'CPVolian2026'
|
||||||
|
FROM
|
||||||
|
#tmpUpdate tU INNER JOIN
|
||||||
|
tblItems ON tU.ContentID = tblItems.ContentID
|
||||||
|
WHERE tU.BaseFlag = 0;
|
||||||
|
|
||||||
|
UPDATE tblContents Set DeleteStatus = 1, DTS = GETDATE(), UserID = 'CPVolian2026'
|
||||||
|
FROM
|
||||||
|
#tmpUpdate tU INNER JOIN
|
||||||
|
tblContents ON tU.ContentID = tblContents.ContentID
|
||||||
|
WHERE tU.BaseFlag = 0;
|
||||||
|
|
||||||
|
DELETE FROM
|
||||||
|
tblEntries
|
||||||
|
FROM
|
||||||
|
tblEntries
|
||||||
|
INNER JOIN
|
||||||
|
#tmpUpdate tU ON tU.ContentID = tblEntries.ContentID
|
||||||
|
WHERE tU.BaseFlag in (0,2);
|
||||||
|
|
||||||
|
INSERT INTO [dbo].[tblEntries]
|
||||||
|
([ContentID]
|
||||||
|
,[DocID]
|
||||||
|
,[DTS]
|
||||||
|
,[UserID]
|
||||||
|
,[DeleteStatus])
|
||||||
|
SELECT
|
||||||
|
DISTINCT tU.ContentID,
|
||||||
|
766, -- docid 766 "Cover Page 1"
|
||||||
|
GETDATE(),
|
||||||
|
'CPVolian2026',
|
||||||
|
0
|
||||||
|
FROM
|
||||||
|
#tmpUpdate tU
|
||||||
|
INNER JOIN
|
||||||
|
@Cont CNT ON tU.ContentID = CNT.ContentID
|
||||||
|
WHERE tU.BaseFlag = 2;
|
||||||
|
|
||||||
|
drop table #tmpUpdate;
|
||||||
|
|
||||||
|
IF (@@Error = 0) SELECT '[Barakah Cover Page Consolidation] Succeeded'
|
||||||
|
ELSE SELECT '[Barakah Cover Page Consolidation] Error'
|
||||||
|
go
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,263 @@
|
|||||||
|
|
||||||
|
-- =============================================
|
||||||
|
-- Author: Matthew Schill
|
||||||
|
-- Create date: 03/20/2026
|
||||||
|
-- Description: Script to consolidate Cover Pages for Barakah
|
||||||
|
-- by Converting multi-unit procedures with Cover Pages
|
||||||
|
-- to use 1 Library Document Cover Page
|
||||||
|
-- =============================================
|
||||||
|
|
||||||
|
----@isTest = 0 will change data
|
||||||
|
----@isTest = 1 for internal testing (no data will be changed)
|
||||||
|
DECLARE @isTest bit = 1;
|
||||||
|
|
||||||
|
----Per Cover Page, pull how many cover pages
|
||||||
|
----Each Cover Page's procedure has
|
||||||
|
----and how many of those are library documents
|
||||||
|
select Contents.ContentID
|
||||||
|
, Contenttext = Contents.Text
|
||||||
|
, Items.ItemID
|
||||||
|
, tblDocuments.DocID
|
||||||
|
, ParentContentID
|
||||||
|
, ParentItemID
|
||||||
|
, LibTitle = ISNULL(LibTitle,'')
|
||||||
|
, numLibCP
|
||||||
|
, numCP
|
||||||
|
,BaseFlag = 0
|
||||||
|
INTO #tmpUpdate
|
||||||
|
from Contents
|
||||||
|
inner join Entries on Contents.ContentID = Entries.ContentID
|
||||||
|
inner join tblDocuments on tblDocuments.DocID = Entries.DocID
|
||||||
|
inner join Items on Items.ContentID = Contents.ContentID
|
||||||
|
outer apply
|
||||||
|
(select ParentContentID=ContentID, ParentItemID = PItm.ItemID
|
||||||
|
FROM dbo.vefn_ParentItems(Items.ItemID) PItm
|
||||||
|
where PItm.ItemID <> Items.ItemID
|
||||||
|
) parent
|
||||||
|
outer apply
|
||||||
|
(select numLibCP = Count(*)
|
||||||
|
FROM dbo.vefn_ChildItems(ParentItemID) PItm
|
||||||
|
INNER JOIN Contents on Contents.ContentID = PItm.ContentID
|
||||||
|
INNER JOIN Entries on Contents.ContentID = Entries.ContentID
|
||||||
|
INNER JOIN tblDocuments on tblDocuments.DocID = Entries.DocID
|
||||||
|
where PItm.ItemID <> ParentItemID
|
||||||
|
AND Contents.text like 'Cover Page%' and ISNULL(tblDocuments.LibTitle,'') <> ''
|
||||||
|
) childWithLibTitle
|
||||||
|
outer apply
|
||||||
|
(select numCP = Count(*)
|
||||||
|
FROM dbo.vefn_ChildItems(ParentItemID) PItm
|
||||||
|
INNER JOIN Contents on Contents.ContentID = PItm.ContentID
|
||||||
|
where PItm.ItemID <> ParentItemID
|
||||||
|
AND Contents.text like 'Cover Page%'
|
||||||
|
) child
|
||||||
|
where Contents.text like 'Cover Page%'
|
||||||
|
order by ParentContentID asc, CASE WHEN ISNULL(LibTitle,'') <> '' THEN 1 ELSE 2 END asc, Contents.Text asc
|
||||||
|
|
||||||
|
--BaseFlag
|
||||||
|
-- 0 = a Cover Page that will be deleted
|
||||||
|
-- 1 = is base item (Cover Page will get renamed and applicability set to all)
|
||||||
|
-- 2 = would be base item but not linked to Lib document (Cover Page will get renamed and applicability set to all + will need linked to library doc)
|
||||||
|
|
||||||
|
---- If only 1 Library Doc CP for the CP's procedure and this is it, then mark this CP as the one we will keep
|
||||||
|
UPDATE #tmpUpdate SET BaseFlag = 1 where LibTitle <> '' and numLibCP = 1
|
||||||
|
|
||||||
|
---- If multiple Library Document CPs, pick the first one as the one we will keep (BaseFlag = 1)
|
||||||
|
---- If no Library Document CPs, pick the first one as the one we will repurpose (BaseFlag = 2)
|
||||||
|
UPDATE #tmpUpdate SET BaseFlag = CASE WHEN tU.LibTitle <> '' THEN 1 ELSE 2 END FROM #tmpUpdate tU
|
||||||
|
where BaseFlag = 0 AND tU.ContentID IN
|
||||||
|
(
|
||||||
|
Select ContentID FROM
|
||||||
|
(SELECT sub.ContentID,
|
||||||
|
row_number() OVER(PARTITION BY sub.ParentContentID ORDER BY CASE WHEN ISNULL(sub.LibTitle,'') <> '' THEN 1 ELSE 2 END asc, sub.Contenttext asc) as pos
|
||||||
|
FROM #tmpUpdate sub
|
||||||
|
) x
|
||||||
|
WHERE x.pos = 1
|
||||||
|
)
|
||||||
|
|
||||||
|
----BEGIN TESTS--
|
||||||
|
if(@isTest = 1)
|
||||||
|
BEGIN
|
||||||
|
select Count(*), 'Should be Zero - not exactly one BaseFlag set to non 0 for each Parent Item' FROM #tmpUpdate TU
|
||||||
|
OUTER APPLY
|
||||||
|
(select numBaseFlagSet = SUM(CASE WHEN sub.BaseFlag > 0 THEN 1 ELSE 0 END)
|
||||||
|
FROM #tmpUpdate sub
|
||||||
|
where sub.ParentContentID = TU.ParentContentID
|
||||||
|
) sub
|
||||||
|
where numBaseFlagSet <> 1
|
||||||
|
|
||||||
|
select Count(*), 'Should be Zero - 0 Lib Docs, BaseFlag is 1' FROM #tmpUpdate TU
|
||||||
|
where numLibCP = 0 and BaseFlag = 1
|
||||||
|
|
||||||
|
select Count(*), 'Should be Zero - at least 1 Lib Docs, BaseFlag is 2' FROM #tmpUpdate TU
|
||||||
|
where numLibCP > 0 and BaseFlag = 2
|
||||||
|
|
||||||
|
select Count(*), 'Should be Zero - 1 Lib Docs, BaseFlag not 1 for that Lib doc' FROM #tmpUpdate TU
|
||||||
|
where numLibCP = 1 and LibTitle <> '' and BaseFlag <> 1
|
||||||
|
|
||||||
|
select Count(*), 'Should be Zero - 1 Lib Docs, BaseFlag not 0 for ones without Lib Doc' FROM #tmpUpdate TU
|
||||||
|
where numLibCP = 1 and LibTitle = '' and BaseFlag <> 0
|
||||||
|
|
||||||
|
select Count(*), 'Should be Zero - 1 CP, no Lib Docs, BaseFlag not 2' FROM #tmpUpdate TU
|
||||||
|
where numLibCP = 0 and numCP = 1 and BaseFlag <> 2
|
||||||
|
|
||||||
|
select Count(*), 'Should be Zero - more than 1 Lib Docs, BaseFlag is 1' FROM #tmpUpdate TU
|
||||||
|
where numLibCP = 0 and BaseFlag = 1
|
||||||
|
|
||||||
|
select Count(*), 'Should be Zero - not exactly one BaseFlag set to non 0 for each Parent Item' FROM #tmpUpdate TU
|
||||||
|
OUTER APPLY
|
||||||
|
(select numBaseFlagSet = SUM(CASE WHEN sub.BaseFlag > 0 THEN 1 ELSE 0 END)
|
||||||
|
FROM #tmpUpdate sub
|
||||||
|
where sub.ParentContentID = TU.ParentContentID
|
||||||
|
) sub
|
||||||
|
where numBaseFlagSet <> 1
|
||||||
|
|
||||||
|
select Count(*), 'Should be Zero - 0 Lib Docs, BaseFlag is 1' FROM #tmpUpdate TU
|
||||||
|
where numLibCP = 0
|
||||||
|
and BaseFlag = 1
|
||||||
|
|
||||||
|
--all Parents should have exactly 1 Baseflag=1 or BaseFlage = 2
|
||||||
|
select 'Should be No Records where not a BaseFlag 1 or 2'
|
||||||
|
select NumNotBaseFlag12 = Count(*)
|
||||||
|
FROM #tmpUpdate TU
|
||||||
|
Group by ParentContentID
|
||||||
|
HAVING SUM(CASE WHEN BaseFlag in (1,2) THEN 1 ELSE 0 END) <> 1
|
||||||
|
|
||||||
|
select 'Should be No Records where with both a BaseFlag 1 and 2'
|
||||||
|
select NumBothBaseFlag12 = Count(*)
|
||||||
|
FROM #tmpUpdate TU
|
||||||
|
Group by ParentContentID
|
||||||
|
HAVING SUM(BaseFlag) > 2
|
||||||
|
|
||||||
|
END
|
||||||
|
--END TESTS--
|
||||||
|
|
||||||
|
--BaseFlag
|
||||||
|
-- 0 = a Cover Page that will be deleted
|
||||||
|
-- 1 = is base item (Cover Page will get renamed and applicability set to all)
|
||||||
|
-- 2 = would be base item but not linked to Lib document (Cover Page will get renamed and applicability set to all + will need linked to library doc)
|
||||||
|
|
||||||
|
----Update config for Coverpage 1 to remove <MasterSlave Applicability="1" />
|
||||||
|
----from that config
|
||||||
|
----cover page 1s
|
||||||
|
declare @Cont TABLE
|
||||||
|
(
|
||||||
|
ContentID int,
|
||||||
|
ItemID int,
|
||||||
|
xConfig xml
|
||||||
|
)
|
||||||
|
insert into @Cont
|
||||||
|
SELECT tU.ContentID, ItemID, xConfig = CAST(tblContents.config AS xml) FROM
|
||||||
|
tblContents
|
||||||
|
INNER JOIN
|
||||||
|
#tmpUpdate tU ON tU.ContentID = tblContents.ContentID
|
||||||
|
where tU.BaseFlag > 0
|
||||||
|
|
||||||
|
if(@isTest = 1)
|
||||||
|
BEGIN
|
||||||
|
select WRD='Have Masterslave in xconfig', NumwithMasterSlave = Count(*) FROM @Cont CNT
|
||||||
|
INNER JOIN
|
||||||
|
tblContents ON CNT.ContentID = tblContents.ContentID
|
||||||
|
where CAST(xConfig AS varchar(max)) like '%MasterSlave%'
|
||||||
|
END
|
||||||
|
|
||||||
|
Update @Cont Set xConfig.modify('delete //MasterSlave') From @Cont;
|
||||||
|
|
||||||
|
if(@isTest = 1)
|
||||||
|
BEGIN
|
||||||
|
select WRD='None should have Masterslave Removed in xconfig', NumwithMasterSlave = Count(*) FROM @Cont CNT
|
||||||
|
INNER JOIN
|
||||||
|
tblContents ON CNT.ContentID = tblContents.ContentID
|
||||||
|
where CAST(xConfig AS varchar(max)) like '%MasterSlave%'
|
||||||
|
|
||||||
|
select 'Show Records and how the ids will be re-linked'
|
||||||
|
|
||||||
|
Select tblItems.ItemID, tblItems.ContentID, tblItems.PreviousID, tblContents.Text,
|
||||||
|
PreviousItemID = tU.ItemID, PreviousContentID = tU.ContentID, PreviousText = tUCont.Text,
|
||||||
|
RelinkToItemID = IdToSwapTO.ItemID, RelinkToContentID = IdToSwapTO.ContentID, RelinkToText = IdToSwapTOCont.Text
|
||||||
|
FROM
|
||||||
|
tblItems
|
||||||
|
INNER JOIN
|
||||||
|
tblContents on tblContents.ContentID = tblItems.ContentID
|
||||||
|
INNER JOIN
|
||||||
|
#tmpUpdate tU ON tblItems.PreviousID = tU.ItemID AND tU.BaseFlag = 0
|
||||||
|
INNER JOIN
|
||||||
|
tblContents tUCont on tUCont.ContentID = tU.ContentID
|
||||||
|
LEFT OUTER JOIN #tmpUpdate IdToSwapTO ON IdToSwapTO.ParentContentID = tU.ParentContentID AND IdToSwapTO.BaseFlag IN (1,2)
|
||||||
|
LEFT OUTER JOIN tblContents IdToSwapTOCont on IdToSwapTOCont.ContentID = IdToSwapTO.ContentID
|
||||||
|
|
||||||
|
END
|
||||||
|
ELSE
|
||||||
|
BEGIN
|
||||||
|
--Update Config for Contents and set Text = 'Cover Page'
|
||||||
|
Update tblContents SET Text = 'Cover Page', Config = CAST(xConfig AS varchar(max)),
|
||||||
|
DTS = GETDATE(), UserID = 'CPVolian2026'
|
||||||
|
FROM
|
||||||
|
@Cont CNT INNER JOIN
|
||||||
|
tblContents ON CNT.ContentID = tblContents.ContentID;
|
||||||
|
|
||||||
|
--Update items PreviousIds
|
||||||
|
UPDATE tblItems Set PreviousID = IdToSwapTO.ItemID
|
||||||
|
FROM
|
||||||
|
tblItems
|
||||||
|
INNER JOIN
|
||||||
|
#tmpUpdate tU ON tblItems.PreviousID = tU.ItemID AND tU.BaseFlag = 0
|
||||||
|
INNER JOIN #tmpUpdate IdToSwapTO ON IdToSwapTO.ParentContentID = tU.ParentContentID AND IdToSwapTO.BaseFlag IN (1,2)
|
||||||
|
|
||||||
|
--delete where BaseFlag = 0 ---Items,Content,Entries, --set DeleteStatus = 1
|
||||||
|
--these are ones that will be replaced by a library document
|
||||||
|
UPDATE tblItems Set DeleteStatus = 1, DTS = GETDATE(), UserID = 'CPVolian2026'
|
||||||
|
FROM
|
||||||
|
#tmpUpdate tU INNER JOIN
|
||||||
|
tblItems ON tU.ContentID = tblItems.ContentID
|
||||||
|
WHERE tU.BaseFlag = 0;
|
||||||
|
|
||||||
|
UPDATE tblContents Set DeleteStatus = 1, DTS = GETDATE(), UserID = 'CPVolian2026'
|
||||||
|
FROM
|
||||||
|
#tmpUpdate tU INNER JOIN
|
||||||
|
tblContents ON tU.ContentID = tblContents.ContentID
|
||||||
|
WHERE tU.BaseFlag = 0;
|
||||||
|
|
||||||
|
--delete entries where Baseflag = 2
|
||||||
|
--create new entries where Baseflag = 2
|
||||||
|
|
||||||
|
DELETE FROM
|
||||||
|
tblEntries
|
||||||
|
FROM
|
||||||
|
tblEntries
|
||||||
|
INNER JOIN
|
||||||
|
#tmpUpdate tU ON tU.ContentID = tblEntries.ContentID
|
||||||
|
WHERE tU.BaseFlag in (0,2);
|
||||||
|
|
||||||
|
INSERT INTO [dbo].[tblEntries]
|
||||||
|
([ContentID]
|
||||||
|
,[DocID]
|
||||||
|
,[DTS]
|
||||||
|
,[UserID]
|
||||||
|
,[DeleteStatus])
|
||||||
|
SELECT
|
||||||
|
DISTINCT tU.ContentID,
|
||||||
|
766, -- docid 766 "Cover Page 1"
|
||||||
|
GETDATE(),
|
||||||
|
'CPVolian2026',
|
||||||
|
0
|
||||||
|
FROM
|
||||||
|
#tmpUpdate tU
|
||||||
|
INNER JOIN
|
||||||
|
@Cont CNT ON tU.ContentID = CNT.ContentID
|
||||||
|
WHERE tU.BaseFlag = 2;
|
||||||
|
|
||||||
|
END;
|
||||||
|
|
||||||
|
drop table #tmpUpdate;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
+62
-62
@@ -226,11 +226,11 @@ namespace Volian.Controls.Library
|
|||||||
this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
this.tabControlPanel4.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||||
this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
this.tabControlPanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||||
this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
this.tabControlPanel4.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||||
this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
this.tabControlPanel4.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||||
this.tabControlPanel4.Style.GradientAngle = 90;
|
this.tabControlPanel4.Style.GradientAngle = 90;
|
||||||
this.superTooltip1.SetSuperTooltip(this.tabControlPanel4, new DevComponents.DotNetBar.SuperTooltipInfo("Text Search", "", "Enter the text you want to search, or select from the drop down list.\r\n\r\nLeave bl" +
|
this.superTooltip1.SetSuperTooltip(this.tabControlPanel4, new DevComponents.DotNetBar.SuperTooltipInfo("Text Search", "", "Enter the text you want to search, or select from the drop down list.\r\n\r\nLeave bl" +
|
||||||
"ank to search for the usage of the selected types in \"Filter By Types\".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(175, 140)));
|
"ank to search for the usage of the selected types in \"Filter By Types\".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(175, 140)));
|
||||||
this.tabControlPanel4.TabIndex = 4;
|
this.tabControlPanel4.TabIndex = 4;
|
||||||
this.tabControlPanel4.TabItem = this.tabStepTypeSearch;
|
this.tabControlPanel4.TabItem = this.tabStepTypeSearch;
|
||||||
//
|
//
|
||||||
@@ -352,7 +352,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cbxByWord.Name = "cbxByWord";
|
this.cbxByWord.Name = "cbxByWord";
|
||||||
this.cbxByWord.Size = new System.Drawing.Size(56, 15);
|
this.cbxByWord.Size = new System.Drawing.Size(56, 15);
|
||||||
this.superTooltip1.SetSuperTooltip(this.cbxByWord, new DevComponents.DotNetBar.SuperTooltipInfo("By Word", "", "When this box is checked, Search will find only matches of the search text as a w" +
|
this.superTooltip1.SetSuperTooltip(this.cbxByWord, new DevComponents.DotNetBar.SuperTooltipInfo("By Word", "", "When this box is checked, Search will find only matches of the search text as a w" +
|
||||||
"ord not as part of a word.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
|
"ord not as part of a word.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
|
||||||
this.cbxByWord.TabIndex = 7;
|
this.cbxByWord.TabIndex = 7;
|
||||||
this.cbxByWord.Text = "By Word";
|
this.cbxByWord.Text = "By Word";
|
||||||
//
|
//
|
||||||
@@ -382,7 +382,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cbxIncROTextSrch.Name = "cbxIncROTextSrch";
|
this.cbxIncROTextSrch.Name = "cbxIncROTextSrch";
|
||||||
this.cbxIncROTextSrch.Size = new System.Drawing.Size(169, 12);
|
this.cbxIncROTextSrch.Size = new System.Drawing.Size(169, 12);
|
||||||
this.superTooltip1.SetSuperTooltip(this.cbxIncROTextSrch, new DevComponents.DotNetBar.SuperTooltipInfo("Search RO and Transition Text", "", "When this box is checked, Search will include matches found in RO and Transition " +
|
this.superTooltip1.SetSuperTooltip(this.cbxIncROTextSrch, new DevComponents.DotNetBar.SuperTooltipInfo("Search RO and Transition Text", "", "When this box is checked, Search will include matches found in RO and Transition " +
|
||||||
"text as well as regular text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
"text as well as regular text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||||
this.cbxIncROTextSrch.TabIndex = 5;
|
this.cbxIncROTextSrch.TabIndex = 5;
|
||||||
this.cbxIncROTextSrch.Text = "Search RO and Transition Text";
|
this.cbxIncROTextSrch.Text = "Search RO and Transition Text";
|
||||||
//
|
//
|
||||||
@@ -397,7 +397,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cbxProcSectSrch.Name = "cbxProcSectSrch";
|
this.cbxProcSectSrch.Name = "cbxProcSectSrch";
|
||||||
this.cbxProcSectSrch.Size = new System.Drawing.Size(180, 18);
|
this.cbxProcSectSrch.Size = new System.Drawing.Size(180, 18);
|
||||||
this.superTooltip1.SetSuperTooltip(this.cbxProcSectSrch, new DevComponents.DotNetBar.SuperTooltipInfo("Search RO and Transition Text", "", "When this box is checked, Search will include matches found in RO and Transition " +
|
this.superTooltip1.SetSuperTooltip(this.cbxProcSectSrch, new DevComponents.DotNetBar.SuperTooltipInfo("Search RO and Transition Text", "", "When this box is checked, Search will include matches found in RO and Transition " +
|
||||||
"text as well as regular text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
"text as well as regular text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||||
this.cbxProcSectSrch.TabIndex = 5;
|
this.cbxProcSectSrch.TabIndex = 5;
|
||||||
this.cbxProcSectSrch.Text = "Ignore Procedure and Section Titles";
|
this.cbxProcSectSrch.Text = "Ignore Procedure and Section Titles";
|
||||||
//
|
//
|
||||||
@@ -414,7 +414,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cbxCaseSensitive.Name = "cbxCaseSensitive";
|
this.cbxCaseSensitive.Name = "cbxCaseSensitive";
|
||||||
this.cbxCaseSensitive.Size = new System.Drawing.Size(104, 15);
|
this.cbxCaseSensitive.Size = new System.Drawing.Size(104, 15);
|
||||||
this.superTooltip1.SetSuperTooltip(this.cbxCaseSensitive, new DevComponents.DotNetBar.SuperTooltipInfo("Case Sensitive", "", "When this box is checked, Search will find only exact matches of the search text " +
|
this.superTooltip1.SetSuperTooltip(this.cbxCaseSensitive, new DevComponents.DotNetBar.SuperTooltipInfo("Case Sensitive", "", "When this box is checked, Search will find only exact matches of the search text " +
|
||||||
"you had entered.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
|
"you had entered.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
|
||||||
this.cbxCaseSensitive.TabIndex = 3;
|
this.cbxCaseSensitive.TabIndex = 3;
|
||||||
this.cbxCaseSensitive.Text = "Case Sensitive";
|
this.cbxCaseSensitive.Text = "Case Sensitive";
|
||||||
//
|
//
|
||||||
@@ -431,7 +431,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cbxRnoOnly.Name = "cbxRnoOnly";
|
this.cbxRnoOnly.Name = "cbxRnoOnly";
|
||||||
this.cbxRnoOnly.Size = new System.Drawing.Size(71, 15);
|
this.cbxRnoOnly.Size = new System.Drawing.Size(71, 15);
|
||||||
this.superTooltip1.SetSuperTooltip(this.cbxRnoOnly, new DevComponents.DotNetBar.SuperTooltipInfo("RNO Only", "", "When this box is checked, Search will find only the matches that are in RNO steps" +
|
this.superTooltip1.SetSuperTooltip(this.cbxRnoOnly, new DevComponents.DotNetBar.SuperTooltipInfo("RNO Only", "", "When this box is checked, Search will find only the matches that are in RNO steps" +
|
||||||
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
|
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
|
||||||
this.cbxRnoOnly.TabIndex = 7;
|
this.cbxRnoOnly.TabIndex = 7;
|
||||||
this.cbxRnoOnly.Text = "RNO Only";
|
this.cbxRnoOnly.Text = "RNO Only";
|
||||||
//
|
//
|
||||||
@@ -479,7 +479,7 @@ namespace Volian.Controls.Library
|
|||||||
this.tabStepTypeSearch.AttachedControl = this.tabControlPanel4;
|
this.tabStepTypeSearch.AttachedControl = this.tabControlPanel4;
|
||||||
this.tabStepTypeSearch.Name = "tabStepTypeSearch";
|
this.tabStepTypeSearch.Name = "tabStepTypeSearch";
|
||||||
this.superTooltip1.SetSuperTooltip(this.tabStepTypeSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Text", "", "Allows you to search for entered text in selected procedure sets and within selec" +
|
this.superTooltip1.SetSuperTooltip(this.tabStepTypeSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Text", "", "Allows you to search for entered text in selected procedure sets and within selec" +
|
||||||
"ted procedure text types.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 110)));
|
"ted procedure text types.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 110)));
|
||||||
this.tabStepTypeSearch.Text = "Text";
|
this.tabStepTypeSearch.Text = "Text";
|
||||||
this.tabStepTypeSearch.Click += new System.EventHandler(this.tabStepTypeSearch_Click);
|
this.tabStepTypeSearch.Click += new System.EventHandler(this.tabStepTypeSearch_Click);
|
||||||
//
|
//
|
||||||
@@ -500,8 +500,8 @@ namespace Volian.Controls.Library
|
|||||||
this.tabControlPanel5.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
this.tabControlPanel5.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||||
this.tabControlPanel5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
this.tabControlPanel5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||||
this.tabControlPanel5.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
this.tabControlPanel5.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||||
this.tabControlPanel5.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
this.tabControlPanel5.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||||
this.tabControlPanel5.Style.GradientAngle = 90;
|
this.tabControlPanel5.Style.GradientAngle = 90;
|
||||||
this.tabControlPanel5.TabIndex = 5;
|
this.tabControlPanel5.TabIndex = 5;
|
||||||
this.tabControlPanel5.TabItem = this.tabTranSearch;
|
this.tabControlPanel5.TabItem = this.tabTranSearch;
|
||||||
@@ -519,7 +519,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cbxRnoOnlyTrans.Name = "cbxRnoOnlyTrans";
|
this.cbxRnoOnlyTrans.Name = "cbxRnoOnlyTrans";
|
||||||
this.cbxRnoOnlyTrans.Size = new System.Drawing.Size(71, 15);
|
this.cbxRnoOnlyTrans.Size = new System.Drawing.Size(71, 15);
|
||||||
this.superTooltip1.SetSuperTooltip(this.cbxRnoOnlyTrans, new DevComponents.DotNetBar.SuperTooltipInfo("RNO Only", "", "When this box is checked, Search will find only the matches that are in RNO steps" +
|
this.superTooltip1.SetSuperTooltip(this.cbxRnoOnlyTrans, new DevComponents.DotNetBar.SuperTooltipInfo("RNO Only", "", "When this box is checked, Search will find only the matches that are in RNO steps" +
|
||||||
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
|
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
|
||||||
this.cbxRnoOnlyTrans.TabIndex = 8;
|
this.cbxRnoOnlyTrans.TabIndex = 8;
|
||||||
this.cbxRnoOnlyTrans.Text = "RNO Only";
|
this.cbxRnoOnlyTrans.Text = "RNO Only";
|
||||||
//
|
//
|
||||||
@@ -630,7 +630,7 @@ namespace Volian.Controls.Library
|
|||||||
this.tabTranSearch.AttachedControl = this.tabControlPanel5;
|
this.tabTranSearch.AttachedControl = this.tabControlPanel5;
|
||||||
this.tabTranSearch.Name = "tabTranSearch";
|
this.tabTranSearch.Name = "tabTranSearch";
|
||||||
this.superTooltip1.SetSuperTooltip(this.tabTranSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Transition From", "", "Allows you to search for transitions of the selected type that point from selecte" +
|
this.superTooltip1.SetSuperTooltip(this.tabTranSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Transition From", "", "Allows you to search for transitions of the selected type that point from selecte" +
|
||||||
"d procedure set(s).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 110)));
|
"d procedure set(s).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 110)));
|
||||||
this.tabTranSearch.Text = "Transitions";
|
this.tabTranSearch.Text = "Transitions";
|
||||||
//
|
//
|
||||||
// tabControlPanel2
|
// tabControlPanel2
|
||||||
@@ -648,8 +648,8 @@ namespace Volian.Controls.Library
|
|||||||
this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||||
this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||||
this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||||
this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||||
this.tabControlPanel2.Style.GradientAngle = 90;
|
this.tabControlPanel2.Style.GradientAngle = 90;
|
||||||
this.tabControlPanel2.TabIndex = 2;
|
this.tabControlPanel2.TabIndex = 2;
|
||||||
this.tabControlPanel2.TabItem = this.tabROSearch;
|
this.tabControlPanel2.TabItem = this.tabROSearch;
|
||||||
@@ -711,7 +711,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cbxRnoOnlyRO.Name = "cbxRnoOnlyRO";
|
this.cbxRnoOnlyRO.Name = "cbxRnoOnlyRO";
|
||||||
this.cbxRnoOnlyRO.Size = new System.Drawing.Size(71, 15);
|
this.cbxRnoOnlyRO.Size = new System.Drawing.Size(71, 15);
|
||||||
this.superTooltip1.SetSuperTooltip(this.cbxRnoOnlyRO, new DevComponents.DotNetBar.SuperTooltipInfo("RNO Only", "", "When this box is checked, Search will find only the matches that are in RNO steps" +
|
this.superTooltip1.SetSuperTooltip(this.cbxRnoOnlyRO, new DevComponents.DotNetBar.SuperTooltipInfo("RNO Only", "", "When this box is checked, Search will find only the matches that are in RNO steps" +
|
||||||
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
|
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
|
||||||
this.cbxRnoOnlyRO.TabIndex = 8;
|
this.cbxRnoOnlyRO.TabIndex = 8;
|
||||||
this.cbxRnoOnlyRO.Text = "RNO Only";
|
this.cbxRnoOnlyRO.Text = "RNO Only";
|
||||||
//
|
//
|
||||||
@@ -730,7 +730,7 @@ namespace Volian.Controls.Library
|
|||||||
this.lblSrchRoMsg.Size = new System.Drawing.Size(262, 40);
|
this.lblSrchRoMsg.Size = new System.Drawing.Size(262, 40);
|
||||||
this.lblSrchRoMsg.TabIndex = 3;
|
this.lblSrchRoMsg.TabIndex = 3;
|
||||||
this.lblSrchRoMsg.Text = "This folder(s) ROs are incompatible with the currently selected folder(s). This " +
|
this.lblSrchRoMsg.Text = "This folder(s) ROs are incompatible with the currently selected folder(s). This " +
|
||||||
"may be due to the RO values needing to be updated.";
|
"may be due to the RO values needing to be updated.";
|
||||||
this.lblSrchRoMsg.Visible = false;
|
this.lblSrchRoMsg.Visible = false;
|
||||||
this.lblSrchRoMsg.WordWrap = true;
|
this.lblSrchRoMsg.WordWrap = true;
|
||||||
//
|
//
|
||||||
@@ -796,8 +796,8 @@ namespace Volian.Controls.Library
|
|||||||
this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||||
this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||||
this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||||
this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||||
this.tabControlPanel3.Style.GradientAngle = 90;
|
this.tabControlPanel3.Style.GradientAngle = 90;
|
||||||
this.tabControlPanel3.TabIndex = 5;
|
this.tabControlPanel3.TabIndex = 5;
|
||||||
this.tabControlPanel3.TabItem = this.tabAnnotationSearch;
|
this.tabControlPanel3.TabItem = this.tabAnnotationSearch;
|
||||||
@@ -874,7 +874,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cbxRnoOnlyAnnot.Name = "cbxRnoOnlyAnnot";
|
this.cbxRnoOnlyAnnot.Name = "cbxRnoOnlyAnnot";
|
||||||
this.cbxRnoOnlyAnnot.Size = new System.Drawing.Size(71, 15);
|
this.cbxRnoOnlyAnnot.Size = new System.Drawing.Size(71, 15);
|
||||||
this.superTooltip1.SetSuperTooltip(this.cbxRnoOnlyAnnot, new DevComponents.DotNetBar.SuperTooltipInfo("RNO Only", "", "When this box is checked, Search will find only the matches that are in RNO steps" +
|
this.superTooltip1.SetSuperTooltip(this.cbxRnoOnlyAnnot, new DevComponents.DotNetBar.SuperTooltipInfo("RNO Only", "", "When this box is checked, Search will find only the matches that are in RNO steps" +
|
||||||
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
|
".", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
|
||||||
this.cbxRnoOnlyAnnot.TabIndex = 9;
|
this.cbxRnoOnlyAnnot.TabIndex = 9;
|
||||||
this.cbxRnoOnlyAnnot.Text = "RNO Only";
|
this.cbxRnoOnlyAnnot.Text = "RNO Only";
|
||||||
//
|
//
|
||||||
@@ -907,7 +907,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cbxCaseSensitiveAnnoText.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
this.cbxCaseSensitiveAnnoText.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
||||||
this.cbxCaseSensitiveAnnoText.Size = new System.Drawing.Size(92, 15);
|
this.cbxCaseSensitiveAnnoText.Size = new System.Drawing.Size(92, 15);
|
||||||
this.superTooltip1.SetSuperTooltip(this.cbxCaseSensitiveAnnoText, new DevComponents.DotNetBar.SuperTooltipInfo("Case Sensitive", "", "When this box is checked, Search will find only exact mactches of the search text" +
|
this.superTooltip1.SetSuperTooltip(this.cbxCaseSensitiveAnnoText, new DevComponents.DotNetBar.SuperTooltipInfo("Case Sensitive", "", "When this box is checked, Search will find only exact mactches of the search text" +
|
||||||
" you had entered.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
|
" you had entered.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 100)));
|
||||||
this.cbxCaseSensitiveAnnoText.TabIndex = 5;
|
this.cbxCaseSensitiveAnnoText.TabIndex = 5;
|
||||||
this.cbxCaseSensitiveAnnoText.Text = "Case Sensitive";
|
this.cbxCaseSensitiveAnnoText.Text = "Case Sensitive";
|
||||||
//
|
//
|
||||||
@@ -926,7 +926,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cbxTextSearchAnnotation.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
this.cbxTextSearchAnnotation.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
||||||
this.cbxTextSearchAnnotation.Size = new System.Drawing.Size(239, 22);
|
this.cbxTextSearchAnnotation.Size = new System.Drawing.Size(239, 22);
|
||||||
this.superTooltip1.SetSuperTooltip(this.cbxTextSearchAnnotation, new DevComponents.DotNetBar.SuperTooltipInfo("Search For Annotaion Text", "", "Enter Annotation text to search for or select from the dropdown list.\r\n\r\nLeave Bl" +
|
this.superTooltip1.SetSuperTooltip(this.cbxTextSearchAnnotation, new DevComponents.DotNetBar.SuperTooltipInfo("Search For Annotaion Text", "", "Enter Annotation text to search for or select from the dropdown list.\r\n\r\nLeave Bl" +
|
||||||
"ank to search for occurences of the selected annotation.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 140)));
|
"ank to search for occurences of the selected annotation.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(180, 140)));
|
||||||
this.cbxTextSearchAnnotation.TabIndex = 6;
|
this.cbxTextSearchAnnotation.TabIndex = 6;
|
||||||
this.cbxTextSearchAnnotation.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.cbxTextSearchAnnotation.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.cbxTextSearchAnnotation.WatermarkText = "Enter Search Text Here";
|
this.cbxTextSearchAnnotation.WatermarkText = "Enter Search Text Here";
|
||||||
@@ -970,7 +970,7 @@ namespace Volian.Controls.Library
|
|||||||
this.tabAnnotationSearch.AttachedControl = this.tabControlPanel3;
|
this.tabAnnotationSearch.AttachedControl = this.tabControlPanel3;
|
||||||
this.tabAnnotationSearch.Name = "tabAnnotationSearch";
|
this.tabAnnotationSearch.Name = "tabAnnotationSearch";
|
||||||
this.superTooltip1.SetSuperTooltip(this.tabAnnotationSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Annotations", "", "Allows you to search for types and text for annotations in the selected procedure" +
|
this.superTooltip1.SetSuperTooltip(this.tabAnnotationSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Annotations", "", "Allows you to search for types and text for annotations in the selected procedure" +
|
||||||
" set(s).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 110)));
|
" set(s).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 110)));
|
||||||
this.tabAnnotationSearch.Text = "Annotations";
|
this.tabAnnotationSearch.Text = "Annotations";
|
||||||
this.tabAnnotationSearch.Click += new System.EventHandler(this.tabAnnotationSearch_Click);
|
this.tabAnnotationSearch.Click += new System.EventHandler(this.tabAnnotationSearch_Click);
|
||||||
//
|
//
|
||||||
@@ -990,12 +990,12 @@ namespace Volian.Controls.Library
|
|||||||
this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||||
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||||
this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||||
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||||
this.tabControlPanel1.Style.GradientAngle = 90;
|
this.tabControlPanel1.Style.GradientAngle = 90;
|
||||||
this.tabControlPanel1.TabIndex = 17;
|
this.tabControlPanel1.TabIndex = 17;
|
||||||
this.tabControlPanel1.TabItem = this.tabIncTrans;
|
this.tabControlPanel1.TabItem = this.tabIncTrans;
|
||||||
this.tabControlPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(( System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
this.tabControlPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.tabControlPanel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
this.tabControlPanel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
||||||
//
|
//
|
||||||
// btnTranCvtSelToTxt
|
// btnTranCvtSelToTxt
|
||||||
@@ -1005,7 +1005,7 @@ namespace Volian.Controls.Library
|
|||||||
this.btnTranCvtSelToTxt.Name = "btnTranCvtSelToTxt";
|
this.btnTranCvtSelToTxt.Name = "btnTranCvtSelToTxt";
|
||||||
this.btnTranCvtSelToTxt.Size = new System.Drawing.Size(145, 22);
|
this.btnTranCvtSelToTxt.Size = new System.Drawing.Size(145, 22);
|
||||||
this.superTooltip1.SetSuperTooltip(this.btnTranCvtSelToTxt, new DevComponents.DotNetBar.SuperTooltipInfo("Convert Selected Incoming Transitions To Text", "", "Converts selected transitions in the results list to text unless the user does no" +
|
this.superTooltip1.SetSuperTooltip(this.btnTranCvtSelToTxt, new DevComponents.DotNetBar.SuperTooltipInfo("Convert Selected Incoming Transitions To Text", "", "Converts selected transitions in the results list to text unless the user does no" +
|
||||||
"t have permission to change text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 90)));
|
"t have permission to change text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 90)));
|
||||||
this.btnTranCvtSelToTxt.TabIndex = 3;
|
this.btnTranCvtSelToTxt.TabIndex = 3;
|
||||||
this.btnTranCvtSelToTxt.Text = "Convert Selected To Text";
|
this.btnTranCvtSelToTxt.Text = "Convert Selected To Text";
|
||||||
this.btnTranCvtSelToTxt.UseVisualStyleBackColor = true;
|
this.btnTranCvtSelToTxt.UseVisualStyleBackColor = true;
|
||||||
@@ -1027,7 +1027,7 @@ namespace Volian.Controls.Library
|
|||||||
this.btnTranCvtAllToTxt.Name = "btnTranCvtAllToTxt";
|
this.btnTranCvtAllToTxt.Name = "btnTranCvtAllToTxt";
|
||||||
this.btnTranCvtAllToTxt.Size = new System.Drawing.Size(109, 22);
|
this.btnTranCvtAllToTxt.Size = new System.Drawing.Size(109, 22);
|
||||||
this.superTooltip1.SetSuperTooltip(this.btnTranCvtAllToTxt, new DevComponents.DotNetBar.SuperTooltipInfo("Convert All Incoming Transitions To Text", "", "Converts all of the transitions in the results list to text unless the user does " +
|
this.superTooltip1.SetSuperTooltip(this.btnTranCvtAllToTxt, new DevComponents.DotNetBar.SuperTooltipInfo("Convert All Incoming Transitions To Text", "", "Converts all of the transitions in the results list to text unless the user does " +
|
||||||
"not have permission to change text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 90)));
|
"not have permission to change text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 90)));
|
||||||
this.btnTranCvtAllToTxt.TabIndex = 1;
|
this.btnTranCvtAllToTxt.TabIndex = 1;
|
||||||
this.btnTranCvtAllToTxt.Text = "Convert All To Text";
|
this.btnTranCvtAllToTxt.Text = "Convert All To Text";
|
||||||
this.btnTranCvtAllToTxt.UseVisualStyleBackColor = true;
|
this.btnTranCvtAllToTxt.UseVisualStyleBackColor = true;
|
||||||
@@ -1040,7 +1040,7 @@ namespace Volian.Controls.Library
|
|||||||
this.lblSrchIncTran.Name = "lblSrchIncTran";
|
this.lblSrchIncTran.Name = "lblSrchIncTran";
|
||||||
this.lblSrchIncTran.Size = new System.Drawing.Size(239, 40);
|
this.lblSrchIncTran.Size = new System.Drawing.Size(239, 40);
|
||||||
this.superTooltip1.SetSuperTooltip(this.lblSrchIncTran, new DevComponents.DotNetBar.SuperTooltipInfo("Incoming Transitions", "", "This is the step, section, or procedure for which incoming transitions to it are " +
|
this.superTooltip1.SetSuperTooltip(this.lblSrchIncTran, new DevComponents.DotNetBar.SuperTooltipInfo("Incoming Transitions", "", "This is the step, section, or procedure for which incoming transitions to it are " +
|
||||||
"shown in the list.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 80)));
|
"shown in the list.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 80)));
|
||||||
this.lblSrchIncTran.TabIndex = 1;
|
this.lblSrchIncTran.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// groupBox1
|
// groupBox1
|
||||||
@@ -1083,7 +1083,7 @@ namespace Volian.Controls.Library
|
|||||||
this.tabIncTrans.AttachedControl = this.tabControlPanel1;
|
this.tabIncTrans.AttachedControl = this.tabControlPanel1;
|
||||||
this.tabIncTrans.Name = "tabIncTrans";
|
this.tabIncTrans.Name = "tabIncTrans";
|
||||||
this.superTooltip1.SetSuperTooltip(this.tabIncTrans, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Incoming Transitions", "", "Finds the Incoming Transitions that point to the current item and convert the tra" +
|
this.superTooltip1.SetSuperTooltip(this.tabIncTrans, new DevComponents.DotNetBar.SuperTooltipInfo("Search for Incoming Transitions", "", "Finds the Incoming Transitions that point to the current item and convert the tra" +
|
||||||
"nsition(s) to text if desired and if have permissions.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 120)));
|
"nsition(s) to text if desired and if have permissions.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(170, 120)));
|
||||||
this.tabIncTrans.Text = "Incoming\nTransitions";
|
this.tabIncTrans.Text = "Incoming\nTransitions";
|
||||||
//
|
//
|
||||||
// contextMenuBar1
|
// contextMenuBar1
|
||||||
@@ -1092,7 +1092,7 @@ namespace Volian.Controls.Library
|
|||||||
this.contextMenuBar1.Font = new System.Drawing.Font("Segoe UI", 9F);
|
this.contextMenuBar1.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||||
this.contextMenuBar1.IsMaximized = false;
|
this.contextMenuBar1.IsMaximized = false;
|
||||||
this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
this.contextMenuBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||||
this.btnCMIFindText});
|
this.btnCMIFindText});
|
||||||
this.contextMenuBar1.Location = new System.Drawing.Point(225, -3);
|
this.contextMenuBar1.Location = new System.Drawing.Point(225, -3);
|
||||||
this.contextMenuBar1.Margin = new System.Windows.Forms.Padding(2);
|
this.contextMenuBar1.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.contextMenuBar1.Name = "contextMenuBar1";
|
this.contextMenuBar1.Name = "contextMenuBar1";
|
||||||
@@ -1108,8 +1108,8 @@ namespace Volian.Controls.Library
|
|||||||
this.btnCMIFindText.AutoExpandOnClick = true;
|
this.btnCMIFindText.AutoExpandOnClick = true;
|
||||||
this.btnCMIFindText.Name = "btnCMIFindText";
|
this.btnCMIFindText.Name = "btnCMIFindText";
|
||||||
this.btnCMIFindText.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
this.btnCMIFindText.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||||
this.btnCMEdit,
|
this.btnCMEdit,
|
||||||
this.btnCMInsert});
|
this.btnCMInsert});
|
||||||
this.btnCMIFindText.Text = "cmFindText";
|
this.btnCMIFindText.Text = "cmFindText";
|
||||||
this.btnCMIFindText.PopupOpen += new DevComponents.DotNetBar.DotNetBarManager.PopupOpenEventHandler(this.btnCMIFindText_PopupOpen);
|
this.btnCMIFindText.PopupOpen += new DevComponents.DotNetBar.DotNetBarManager.PopupOpenEventHandler(this.btnCMIFindText_PopupOpen);
|
||||||
//
|
//
|
||||||
@@ -1117,9 +1117,9 @@ namespace Volian.Controls.Library
|
|||||||
//
|
//
|
||||||
this.btnCMEdit.Name = "btnCMEdit";
|
this.btnCMEdit.Name = "btnCMEdit";
|
||||||
this.btnCMEdit.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
this.btnCMEdit.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||||
this.cmFndTxtCut,
|
this.cmFndTxtCut,
|
||||||
this.cmFndTxtCopy,
|
this.cmFndTxtCopy,
|
||||||
this.cmFndTxtPaste});
|
this.cmFndTxtPaste});
|
||||||
this.btnCMEdit.Text = "Edit";
|
this.btnCMEdit.Text = "Edit";
|
||||||
//
|
//
|
||||||
// cmFndTxtCut
|
// cmFndTxtCut
|
||||||
@@ -1151,10 +1151,10 @@ namespace Volian.Controls.Library
|
|||||||
//
|
//
|
||||||
this.btnCMInsert.Name = "btnCMInsert";
|
this.btnCMInsert.Name = "btnCMInsert";
|
||||||
this.btnCMInsert.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
this.btnCMInsert.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||||
this.cmFndTxtInsHardSp,
|
this.cmFndTxtInsHardSp,
|
||||||
this.cmFndTxtInsSymbol,
|
this.cmFndTxtInsSymbol,
|
||||||
this.buttonItem1,
|
this.buttonItem1,
|
||||||
this.btnBooleanItems});
|
this.btnBooleanItems});
|
||||||
this.btnCMInsert.Text = "Insert";
|
this.btnCMInsert.Text = "Insert";
|
||||||
//
|
//
|
||||||
// cmFndTxtInsHardSp
|
// cmFndTxtInsHardSp
|
||||||
@@ -1171,7 +1171,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cmFndTxtInsSymbol.Image = global::Volian.Controls.Library.Properties.Resources.Symbol_Image;
|
this.cmFndTxtInsSymbol.Image = global::Volian.Controls.Library.Properties.Resources.Symbol_Image;
|
||||||
this.cmFndTxtInsSymbol.Name = "cmFndTxtInsSymbol";
|
this.cmFndTxtInsSymbol.Name = "cmFndTxtInsSymbol";
|
||||||
this.cmFndTxtInsSymbol.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
this.cmFndTxtInsSymbol.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||||
this.galSymbols});
|
this.galSymbols});
|
||||||
this.cmFndTxtInsSymbol.Text = "Symbol";
|
this.cmFndTxtInsSymbol.Text = "Symbol";
|
||||||
//
|
//
|
||||||
// galSymbols
|
// galSymbols
|
||||||
@@ -1197,9 +1197,9 @@ namespace Volian.Controls.Library
|
|||||||
//
|
//
|
||||||
this.buttonItem1.Name = "buttonItem1";
|
this.buttonItem1.Name = "buttonItem1";
|
||||||
this.buttonItem1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
this.buttonItem1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||||
this.buttonItem2,
|
this.buttonItem2,
|
||||||
this.buttonItem3,
|
this.buttonItem3,
|
||||||
this.buttonItem4});
|
this.buttonItem4});
|
||||||
this.buttonItem1.Text = "Wild Cards";
|
this.buttonItem1.Text = "Wild Cards";
|
||||||
//
|
//
|
||||||
// buttonItem2
|
// buttonItem2
|
||||||
@@ -1224,9 +1224,9 @@ namespace Volian.Controls.Library
|
|||||||
//
|
//
|
||||||
this.btnBooleanItems.Name = "btnBooleanItems";
|
this.btnBooleanItems.Name = "btnBooleanItems";
|
||||||
this.btnBooleanItems.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
this.btnBooleanItems.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||||
this.btnAND,
|
this.btnAND,
|
||||||
this.btnOR,
|
this.btnOR,
|
||||||
this.btnNOT});
|
this.btnNOT});
|
||||||
this.btnBooleanItems.Text = "Boolean";
|
this.btnBooleanItems.Text = "Boolean";
|
||||||
this.btnBooleanItems.Visible = false;
|
this.btnBooleanItems.Visible = false;
|
||||||
//
|
//
|
||||||
@@ -1267,7 +1267,7 @@ namespace Volian.Controls.Library
|
|||||||
this.advTreeProcSets.MultiSelectRule = DevComponents.AdvTree.eMultiSelectRule.AnyNode;
|
this.advTreeProcSets.MultiSelectRule = DevComponents.AdvTree.eMultiSelectRule.AnyNode;
|
||||||
this.advTreeProcSets.Name = "advTreeProcSets";
|
this.advTreeProcSets.Name = "advTreeProcSets";
|
||||||
this.advTreeProcSets.Nodes.AddRange(new DevComponents.AdvTree.Node[] {
|
this.advTreeProcSets.Nodes.AddRange(new DevComponents.AdvTree.Node[] {
|
||||||
this.node1});
|
this.node1});
|
||||||
this.advTreeProcSets.NodesConnector = this.nodeConnector1;
|
this.advTreeProcSets.NodesConnector = this.nodeConnector1;
|
||||||
this.advTreeProcSets.NodeStyle = this.elementStyle1;
|
this.advTreeProcSets.NodeStyle = this.elementStyle1;
|
||||||
this.advTreeProcSets.NodeStyleSelected = this.elementStyle1;
|
this.advTreeProcSets.NodeStyleSelected = this.elementStyle1;
|
||||||
@@ -1315,7 +1315,7 @@ namespace Volian.Controls.Library
|
|||||||
this.advTreeStepTypes.MultiSelectRule = DevComponents.AdvTree.eMultiSelectRule.AnyNode;
|
this.advTreeStepTypes.MultiSelectRule = DevComponents.AdvTree.eMultiSelectRule.AnyNode;
|
||||||
this.advTreeStepTypes.Name = "advTreeStepTypes";
|
this.advTreeStepTypes.Name = "advTreeStepTypes";
|
||||||
this.advTreeStepTypes.Nodes.AddRange(new DevComponents.AdvTree.Node[] {
|
this.advTreeStepTypes.Nodes.AddRange(new DevComponents.AdvTree.Node[] {
|
||||||
this.node2});
|
this.node2});
|
||||||
this.advTreeStepTypes.NodesConnector = this.nodeConnector2;
|
this.advTreeStepTypes.NodesConnector = this.nodeConnector2;
|
||||||
this.advTreeStepTypes.NodeStyle = this.elementStyle2;
|
this.advTreeStepTypes.NodeStyle = this.elementStyle2;
|
||||||
this.advTreeStepTypes.NodeStyleSelected = this.elementStyle2;
|
this.advTreeStepTypes.NodeStyleSelected = this.elementStyle2;
|
||||||
@@ -1480,7 +1480,7 @@ namespace Volian.Controls.Library
|
|||||||
this.btnCopySearchResults.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
this.btnCopySearchResults.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
||||||
this.btnCopySearchResults.Size = new System.Drawing.Size(43, 23);
|
this.btnCopySearchResults.Size = new System.Drawing.Size(43, 23);
|
||||||
this.superTooltip1.SetSuperTooltip(this.btnCopySearchResults, new DevComponents.DotNetBar.SuperTooltipInfo("Copy Search Results", "", "This button copies the Search Results listed below into the copy/paste buffer. Th" +
|
this.superTooltip1.SetSuperTooltip(this.btnCopySearchResults, new DevComponents.DotNetBar.SuperTooltipInfo("Copy Search Results", "", "This button copies the Search Results listed below into the copy/paste buffer. Th" +
|
||||||
"e copied data can then be pasted into another tool, such as a spreadsheet.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
"e copied data can then be pasted into another tool, such as a spreadsheet.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||||
this.btnCopySearchResults.TabIndex = 10;
|
this.btnCopySearchResults.TabIndex = 10;
|
||||||
this.btnCopySearchResults.Text = "Copy";
|
this.btnCopySearchResults.Text = "Copy";
|
||||||
this.btnCopySearchResults.ThemeAware = true;
|
this.btnCopySearchResults.ThemeAware = true;
|
||||||
@@ -1533,7 +1533,7 @@ namespace Volian.Controls.Library
|
|||||||
this.labelX1.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
this.labelX1.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
||||||
this.labelX1.Size = new System.Drawing.Size(66, 14);
|
this.labelX1.Size = new System.Drawing.Size(66, 14);
|
||||||
this.superTooltip1.SetSuperTooltip(this.labelX1, new DevComponents.DotNetBar.SuperTooltipInfo("Results Style", "", "The Search Results list can be formatted in one of four styles: Document Path, St" +
|
this.superTooltip1.SetSuperTooltip(this.labelX1, new DevComponents.DotNetBar.SuperTooltipInfo("Results Style", "", "The Search Results list can be formatted in one of four styles: Document Path, St" +
|
||||||
"ep Path, Annotation Text and Document Text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
"ep Path, Annotation Text and Document Text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||||
this.labelX1.TabIndex = 9;
|
this.labelX1.TabIndex = 9;
|
||||||
this.labelX1.Text = "Results Style:";
|
this.labelX1.Text = "Results Style:";
|
||||||
//
|
//
|
||||||
@@ -1546,17 +1546,17 @@ namespace Volian.Controls.Library
|
|||||||
this.cmbResultsStyle.FormattingEnabled = true;
|
this.cmbResultsStyle.FormattingEnabled = true;
|
||||||
this.cmbResultsStyle.ItemHeight = 14;
|
this.cmbResultsStyle.ItemHeight = 14;
|
||||||
this.cmbResultsStyle.Items.AddRange(new object[] {
|
this.cmbResultsStyle.Items.AddRange(new object[] {
|
||||||
this.comboItem1,
|
this.comboItem1,
|
||||||
this.comboItem2,
|
this.comboItem2,
|
||||||
this.comboItem3,
|
this.comboItem3,
|
||||||
this.comboItem4});
|
this.comboItem4});
|
||||||
this.cmbResultsStyle.Location = new System.Drawing.Point(70, 5);
|
this.cmbResultsStyle.Location = new System.Drawing.Point(70, 5);
|
||||||
this.cmbResultsStyle.Margin = new System.Windows.Forms.Padding(2);
|
this.cmbResultsStyle.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.cmbResultsStyle.Name = "cmbResultsStyle";
|
this.cmbResultsStyle.Name = "cmbResultsStyle";
|
||||||
this.cmbResultsStyle.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
this.cmbResultsStyle.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
||||||
this.cmbResultsStyle.Size = new System.Drawing.Size(110, 20);
|
this.cmbResultsStyle.Size = new System.Drawing.Size(110, 20);
|
||||||
this.superTooltip1.SetSuperTooltip(this.cmbResultsStyle, new DevComponents.DotNetBar.SuperTooltipInfo("Results Style", "", "The Search Results list can be formatted in one of four styles: Document Path, St" +
|
this.superTooltip1.SetSuperTooltip(this.cmbResultsStyle, new DevComponents.DotNetBar.SuperTooltipInfo("Results Style", "", "The Search Results list can be formatted in one of four styles: Document Path, St" +
|
||||||
"ep Path, Annotation Text and Document Text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
"ep Path, Annotation Text and Document Text.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||||
this.cmbResultsStyle.TabIndex = 8;
|
this.cmbResultsStyle.TabIndex = 8;
|
||||||
this.cmbResultsStyle.SelectedValueChanged += new System.EventHandler(this.cmbResultsStyle_SelectedValueChanged);
|
this.cmbResultsStyle.SelectedValueChanged += new System.EventHandler(this.cmbResultsStyle_SelectedValueChanged);
|
||||||
//
|
//
|
||||||
@@ -1623,7 +1623,7 @@ namespace Volian.Controls.Library
|
|||||||
this.btnPrnSrchRslts.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
this.btnPrnSrchRslts.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
||||||
this.btnPrnSrchRslts.Size = new System.Drawing.Size(43, 23);
|
this.btnPrnSrchRslts.Size = new System.Drawing.Size(43, 23);
|
||||||
this.superTooltip1.SetSuperTooltip(this.btnPrnSrchRslts, new DevComponents.DotNetBar.SuperTooltipInfo("Print Search Results", "", "This button generates a PDF of a standard formatted report regardless of what Res" +
|
this.superTooltip1.SetSuperTooltip(this.btnPrnSrchRslts, new DevComponents.DotNetBar.SuperTooltipInfo("Print Search Results", "", "This button generates a PDF of a standard formatted report regardless of what Res" +
|
||||||
"ults Style is selected.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
"ults Style is selected.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||||
this.btnPrnSrchRslts.TabIndex = 5;
|
this.btnPrnSrchRslts.TabIndex = 5;
|
||||||
this.btnPrnSrchRslts.Text = "Print";
|
this.btnPrnSrchRslts.Text = "Print";
|
||||||
this.btnPrnSrchRslts.ThemeAware = true;
|
this.btnPrnSrchRslts.ThemeAware = true;
|
||||||
@@ -1660,8 +1660,8 @@ namespace Volian.Controls.Library
|
|||||||
this.xpSetToSearch.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
|
this.xpSetToSearch.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
|
||||||
this.xpSetToSearch.Style.GradientAngle = 90;
|
this.xpSetToSearch.Style.GradientAngle = 90;
|
||||||
this.superTooltip1.SetSuperTooltip(this.xpSetToSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Select Procedure Sets to Search", "", "This allows you to select specific procedure sets in which to search.\r\n\r\nIf no p" +
|
this.superTooltip1.SetSuperTooltip(this.xpSetToSearch, new DevComponents.DotNetBar.SuperTooltipInfo("Select Procedure Sets to Search", "", "This allows you to select specific procedure sets in which to search.\r\n\r\nIf no p" +
|
||||||
"rocedure sets are selected in this list, then PROMS will search All of the proce" +
|
"rocedure sets are selected in this list, then PROMS will search All of the proce" +
|
||||||
"dure sets.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(196, 104)));
|
"dure sets.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(196, 104)));
|
||||||
this.xpSetToSearch.TabIndex = 7;
|
this.xpSetToSearch.TabIndex = 7;
|
||||||
this.xpSetToSearch.TitleHeight = 21;
|
this.xpSetToSearch.TitleHeight = 21;
|
||||||
this.xpSetToSearch.TitleStyle.Alignment = System.Drawing.StringAlignment.Center;
|
this.xpSetToSearch.TitleStyle.Alignment = System.Drawing.StringAlignment.Center;
|
||||||
@@ -1695,8 +1695,8 @@ namespace Volian.Controls.Library
|
|||||||
this.xpStepTypes.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
|
this.xpStepTypes.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText;
|
||||||
this.xpStepTypes.Style.GradientAngle = 90;
|
this.xpStepTypes.Style.GradientAngle = 90;
|
||||||
this.superTooltip1.SetSuperTooltip(this.xpStepTypes, new DevComponents.DotNetBar.SuperTooltipInfo("Filter Search by Selected Step Elements", "", "This allows you to search in only the selected step elements.\r\n\r\nIf the Find Sele" +
|
this.superTooltip1.SetSuperTooltip(this.xpStepTypes, new DevComponents.DotNetBar.SuperTooltipInfo("Filter Search by Selected Step Elements", "", "This allows you to search in only the selected step elements.\r\n\r\nIf the Find Sele" +
|
||||||
"cted Step Elements option is selected, search will show you where the selected " +
|
"cted Step Elements option is selected, search will show you where the selected " +
|
||||||
"Step Elements are use.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(240, 115)));
|
"Step Elements are use.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(240, 115)));
|
||||||
this.xpStepTypes.TabIndex = 8;
|
this.xpStepTypes.TabIndex = 8;
|
||||||
this.xpStepTypes.ThemeAware = true;
|
this.xpStepTypes.ThemeAware = true;
|
||||||
this.xpStepTypes.TitleHeight = 21;
|
this.xpStepTypes.TitleHeight = 21;
|
||||||
@@ -1889,4 +1889,4 @@ namespace Volian.Controls.Library
|
|||||||
private DevComponents.DotNetBar.TabItem tabIncTrans; // B2021-061: incorrect variable name was used - rename from tabNISearch to tabIncTrans
|
private DevComponents.DotNetBar.TabItem tabIncTrans; // B2021-061: incorrect variable name was used - rename from tabNISearch to tabIncTrans
|
||||||
//end transition search controls
|
//end transition search controls
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+4
-4
@@ -215,7 +215,8 @@ namespace Volian.Controls.Library
|
|||||||
this.groupPanelCheckoff.CanvasColor = System.Drawing.SystemColors.Control;
|
this.groupPanelCheckoff.CanvasColor = System.Drawing.SystemColors.Control;
|
||||||
this.groupPanelCheckoff.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
this.groupPanelCheckoff.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||||
this.groupPanelCheckoff.Controls.Add(this.cmbCheckoff);
|
this.groupPanelCheckoff.Controls.Add(this.cmbCheckoff);
|
||||||
this.groupPanelCheckoff.DisabledBackColor = System.Drawing.Color.Empty;
|
this.groupPanelCheckoff.Controls.Add(this.cbInitialLine);
|
||||||
|
this.groupPanelCheckoff.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.groupPanelCheckoff.Dock = System.Windows.Forms.DockStyle.Top;
|
this.groupPanelCheckoff.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
this.groupPanelCheckoff.Location = new System.Drawing.Point(0, 231);
|
this.groupPanelCheckoff.Location = new System.Drawing.Point(0, 231);
|
||||||
this.groupPanelCheckoff.Margin = new System.Windows.Forms.Padding(2);
|
this.groupPanelCheckoff.Margin = new System.Windows.Forms.Padding(2);
|
||||||
@@ -265,8 +266,7 @@ namespace Volian.Controls.Library
|
|||||||
this.cbInitialLine.Margin = new System.Windows.Forms.Padding(2);
|
this.cbInitialLine.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.cbInitialLine.Name = "cbInitialLine";
|
this.cbInitialLine.Name = "cbInitialLine";
|
||||||
this.cbInitialLine.Size = new System.Drawing.Size(112, 15);
|
this.cbInitialLine.Size = new System.Drawing.Size(112, 15);
|
||||||
this.superTooltipTags.SetSuperTooltip(this.cbInitialLine, new DevComponents.DotNetBar.SuperTooltipInfo("Manual Page Break", "", "When set, starts this step at the top of a page.\r\n\r\nkeyboard command: <Ctrl><Ente" +
|
this.superTooltipTags.SetSuperTooltip(this.cbInitialLine, new DevComponents.DotNetBar.SuperTooltipInfo("Disable Initial Line", "", "When set, The initial line will be removed from this step.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||||
"r>", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
|
||||||
this.cbInitialLine.TabIndex = 1;
|
this.cbInitialLine.TabIndex = 1;
|
||||||
this.cbInitialLine.Text = "Disable Initial Line";
|
this.cbInitialLine.Text = "Disable Initial Line";
|
||||||
this.cbInitialLine.Visible = false;
|
this.cbInitialLine.Visible = false;
|
||||||
@@ -276,7 +276,6 @@ namespace Volian.Controls.Library
|
|||||||
//
|
//
|
||||||
this.groupPanelcmbShwRplWds.CanvasColor = System.Drawing.SystemColors.Control;
|
this.groupPanelcmbShwRplWds.CanvasColor = System.Drawing.SystemColors.Control;
|
||||||
this.groupPanelcmbShwRplWds.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
this.groupPanelcmbShwRplWds.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||||
this.groupPanelcmbShwRplWds.Controls.Add(this.cbInitialLine);
|
|
||||||
this.groupPanelcmbShwRplWds.Controls.Add(this.cmbShwRplWds);
|
this.groupPanelcmbShwRplWds.Controls.Add(this.cmbShwRplWds);
|
||||||
this.groupPanelcmbShwRplWds.DisabledBackColor = System.Drawing.Color.Empty;
|
this.groupPanelcmbShwRplWds.DisabledBackColor = System.Drawing.Color.Empty;
|
||||||
this.groupPanelcmbShwRplWds.Dock = System.Windows.Forms.DockStyle.Top;
|
this.groupPanelcmbShwRplWds.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
@@ -880,3 +879,4 @@ namespace Volian.Controls.Library
|
|||||||
private System.Windows.Forms.Button btnSaveChangeID;
|
private System.Windows.Forms.Button btnSaveChangeID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1400,15 +1400,25 @@ namespace Volian.Controls.Library
|
|||||||
if (SelectionLength > 0)HandleDeleteKeyWithSelectedText(new KeyEventArgs(Keys.None), null);
|
if (SelectionLength > 0)HandleDeleteKeyWithSelectedText(new KeyEventArgs(Keys.None), null);
|
||||||
int position = SelectionStart;
|
int position = SelectionStart;
|
||||||
SelectionLength = 0;
|
SelectionLength = 0;
|
||||||
|
// B2026-036 fixed issue where numbers after a dash character (in an RO return value) were trucated
|
||||||
|
// Needed to add a space after the \f0 in the string replace below. RTF was getting confused
|
||||||
|
// when there are number right after the \f0. Note also remove the space charcter after
|
||||||
|
// the \f1 command, as it is not needed since the \u commdn follows it.
|
||||||
|
// Here is the old code prior to when the foreach loop was added to handle symbols in RO value:
|
||||||
|
//
|
||||||
|
// linkValue = linkValue.Replace("\\u8209?", "\\f1\\u8209?\\f0 "); // dash character
|
||||||
|
// linkValue = linkValue.Replace("\\u9586?", "\\f1\\u9586?\\f0 "); // backslash symbol
|
||||||
|
// linkValue = linkValue.Replace("\\u916?", "\\f1\\u916?\\f0 "); // delta symbol
|
||||||
|
|
||||||
var pattern = @"\\u([0-9]{1,4})\?"; // RO Editor add symbols C2022 - 003
|
var pattern = @"\\u([0-9]{1,4})\?"; // RO Editor add symbols C2022 - 003
|
||||||
foreach (Match match in Regex.Matches(linkValue, pattern, RegexOptions.IgnoreCase))
|
foreach (Match match in Regex.Matches(linkValue, pattern, RegexOptions.IgnoreCase))
|
||||||
{
|
{
|
||||||
linkValue = linkValue.Replace(match.Value, "\\f1 " + match.Value + "\\f0");
|
linkValue = linkValue.Replace(match.Value, "\\f1" + match.Value + "\\f0 ");
|
||||||
}
|
}
|
||||||
|
|
||||||
linkValue = linkValue.Replace(@"{", @"\{");
|
linkValue = linkValue.Replace(@"{", @"\{");
|
||||||
linkValue = linkValue.Replace(@"}", @"\}");
|
linkValue = linkValue.Replace(@"}", @"\}");
|
||||||
|
|
||||||
SelectedRtf = @"{\rtf1\ansi" + FontTable + @"{\colortbl ;\red255\green0\blue0;\red0\green0\blue255;}\v" + FontSize + @" <START]\v0\cf1 " + linkValue + @"\cf0\v " + linkUrl + @"[END>\v0 }";
|
SelectedRtf = @"{\rtf1\ansi" + FontTable + @"{\colortbl ;\red255\green0\blue0;\red0\green0\blue255;}\v" + FontSize + @" <START]\v0\cf1 " + linkValue + @"\cf0\v " + linkUrl + @"[END>\v0 }";
|
||||||
this.SelectionLength = 0;
|
this.SelectionLength = 0;
|
||||||
this.SelectionStart = position;
|
this.SelectionStart = position;
|
||||||
|
|||||||
@@ -491,10 +491,12 @@ namespace XYPlots
|
|||||||
// remove an extra spaces between ><
|
// remove an extra spaces between ><
|
||||||
//Buff = Regex.Replace(Buff, @"[ ]+<", "<");
|
//Buff = Regex.Replace(Buff, @"[ ]+<", "<");
|
||||||
Buff = Buff.Replace(">\r ", ">\r\n ");
|
Buff = Buff.Replace(">\r ", ">\r\n ");
|
||||||
|
Buff = Buff.Replace(">\n ", ">\r\n "); // C2022-003 if RO has symbols
|
||||||
Buff = Regex.Replace(Buff, @"[ ]+<", "<");
|
Buff = Regex.Replace(Buff, @"[ ]+<", "<");
|
||||||
// some data only had carriage return, replace these with cr/nl so that following code
|
// some data only had carriage return, replace these with cr/nl so that following code
|
||||||
// will work
|
// will work
|
||||||
Buff = Buff.Replace(">\r<", ">\r\n<");
|
Buff = Buff.Replace(">\r<", ">\r\n<");
|
||||||
|
Buff = Buff.Replace(">\n<", ">\r\n<"); // C2022-003 if RO has symbols
|
||||||
Buff = Buff.Replace("><", ">\r\n<");
|
Buff = Buff.Replace("><", ">\r\n<");
|
||||||
// some data had cr/cr/nl, change to cr/nl
|
// some data had cr/cr/nl, change to cr/nl
|
||||||
Buff = Buff.Replace("\r\r\n", "\r\n");
|
Buff = Buff.Replace("\r\r\n", "\r\n");
|
||||||
@@ -520,6 +522,7 @@ namespace XYPlots
|
|||||||
Buff = Buff.Substring(0, Buff.Length - 2) + " \r\n\0x00"; // needs to end with null
|
Buff = Buff.Substring(0, Buff.Length - 2) + " \r\n\0x00"; // needs to end with null
|
||||||
else if (Buff.EndsWith(">")) // doesn't end with return chars...
|
else if (Buff.EndsWith(">")) // doesn't end with return chars...
|
||||||
Buff = Buff.Substring(0, Buff.Length - 1) + " \r\n\0x00"; // needs to end with null
|
Buff = Buff.Substring(0, Buff.Length - 1) + " \r\n\0x00"; // needs to end with null
|
||||||
|
Buff = Regex.Replace(Buff, @"\\u([0-9]{1,4})\?", m => int.TryParse(m?.Groups[1]?.Value, out int result) ? Convert.ToChar(result).ToString() : ""); // C2022-003 RO Symbols. Convert unicode to character.
|
||||||
Buff = Regex.Replace(Buff, @"([0-9])\r\n([0-9])", "$1 $2");
|
Buff = Regex.Replace(Buff, @"([0-9])\r\n([0-9])", "$1 $2");
|
||||||
}
|
}
|
||||||
private void CloseGraph()
|
private void CloseGraph()
|
||||||
|
|||||||
@@ -2,13 +2,14 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Drawing;
|
|
||||||
using System.Drawing.Printing;
|
|
||||||
using System.Drawing.Imaging;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Drawing.Imaging;
|
||||||
|
using System.Drawing.Printing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Windows.Forms;
|
||||||
using VG;
|
using VG;
|
||||||
//using XYPlots;
|
//using XYPlots;
|
||||||
|
|
||||||
@@ -21,6 +22,10 @@ namespace XYPlots
|
|||||||
public frmXYPlot(string title,string xyPlot)
|
public frmXYPlot(string title,string xyPlot)
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
|
title = Regex.Replace(title, @"\\u([0-9]{1,4})\?", m => int.TryParse(m?.Groups[1]?.Value, out int result) ? Convert.ToChar(result).ToString() : ""); // C2022-003 RO Symbols. Convert unicode to character.
|
||||||
|
xyPlot = Regex.Replace(xyPlot, @"\\u([0-9]{1,4})\?", m => int.TryParse(m?.Groups[1]?.Value, out int result) ? Convert.ToChar(result).ToString() : ""); // C2022-003 RO Symbols. Convert unicode to character.
|
||||||
|
|
||||||
int pstart = xyPlot.IndexOf("<<G"); // find the starting Plot Command
|
int pstart = xyPlot.IndexOf("<<G"); // find the starting Plot Command
|
||||||
xyPlot = xyPlot.Substring(pstart); // set val to the start of the plot commands
|
xyPlot = xyPlot.Substring(pstart); // set val to the start of the plot commands
|
||||||
_XYPlot =xyPlot;
|
_XYPlot =xyPlot;
|
||||||
|
|||||||
Reference in New Issue
Block a user