From c9f4c33ba17d1dd84b0464160c02c77ed276c6e9 Mon Sep 17 00:00:00 2001 From: mschill Date: Thu, 11 Sep 2025 10:51:54 -0400 Subject: [PATCH] C2025-034 Upgrade Possibility - Upgrade PROMS to 64 bit --- .../AdjustBuildRevision.csproj | 6 +- PROMS/Baseline/Baseline.csproj | 6 +- PROMS/DropDownPanel/DropDownPanel.csproj | 11 +- .../FlexableMessageBox.csproj | 7 +- PROMS/Formats/Formats.csproj | 2 + PROMS/LBWordLibrary/LBWordLibrary.csproj | 7 +- PROMS/RoAccessToSql/RoAccessToSql.csproj | 6 +- PROMS/TablePicker/TablePicker.csproj | 9 +- .../VEPROMS User Interface/VEPROMS_UI.csproj | 11 +- .../VEPROMS.CSLA.Library.csproj | 11 +- PROMS/VEPROMS/VEPROMS.sln | 34 +++ PROMS/VEPROMS/VlnStatus64/StatusBarFrm.cs | 232 ++++++++++++++++++ PROMS/VEPROMS/VlnStatus64/StatusBarFrm.resx | 157 ++++++++++++ PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.cs | 140 +++++++++++ .../VEPROMS/VlnStatus64/StatusMessageFrm.resx | 139 +++++++++++ PROMS/VEPROMS/VlnStatus64/VlnStatus64.csproj | 58 +++++ PROMS/VEPROMS/VlnStatus64/VlnStatusBar.cs | 148 +++++++++++ PROMS/VEPROMS/VlnStatus64/VlnStatusMessage.cs | 79 ++++++ PROMS/VG/VG.csproj | 11 +- .../Volian.Base.Library.csproj | 6 +- .../Volian.Controls.Library.csproj | 11 +- .../Volian.Pipe.Library.csproj | 6 +- .../Volian.Print.Library.csproj | 11 +- .../Volian.Svg.Library.csproj | 7 +- .../Volian.Utils.Library.csproj | 6 +- PROMS/XYPlots/XYPlots.csproj | 11 +- 26 files changed, 1073 insertions(+), 59 deletions(-) create mode 100644 PROMS/VEPROMS/VlnStatus64/StatusBarFrm.cs create mode 100644 PROMS/VEPROMS/VlnStatus64/StatusBarFrm.resx create mode 100644 PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.cs create mode 100644 PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.resx create mode 100644 PROMS/VEPROMS/VlnStatus64/VlnStatus64.csproj create mode 100644 PROMS/VEPROMS/VlnStatus64/VlnStatusBar.cs create mode 100644 PROMS/VEPROMS/VlnStatus64/VlnStatusMessage.cs diff --git a/PROMS/AdjustBuildRevision/AdjustBuildRevision.csproj b/PROMS/AdjustBuildRevision/AdjustBuildRevision.csproj index 5cb839ea..f87295ce 100644 --- a/PROMS/AdjustBuildRevision/AdjustBuildRevision.csproj +++ b/PROMS/AdjustBuildRevision/AdjustBuildRevision.csproj @@ -5,7 +5,7 @@ TRACE true pdbonly - x86 + x64 prompt false @@ -44,6 +44,7 @@ prompt 4 false + x64 pdbonly @@ -53,13 +54,14 @@ prompt 4 false + x64 true bin\Debug\ DEBUG;TRACE full - x86 + x64 prompt false diff --git a/PROMS/Baseline/Baseline.csproj b/PROMS/Baseline/Baseline.csproj index e365d3d8..1834a6ec 100644 --- a/PROMS/Baseline/Baseline.csproj +++ b/PROMS/Baseline/Baseline.csproj @@ -22,7 +22,7 @@ - AnyCPU + x64 true full false @@ -30,15 +30,17 @@ DEBUG;TRACE prompt 4 + false - AnyCPU + x64 pdbonly true bin\Release\ TRACE prompt 4 + false diff --git a/PROMS/DropDownPanel/DropDownPanel.csproj b/PROMS/DropDownPanel/DropDownPanel.csproj index 2134521b..cb6c3173 100644 --- a/PROMS/DropDownPanel/DropDownPanel.csproj +++ b/PROMS/DropDownPanel/DropDownPanel.csproj @@ -34,7 +34,7 @@ DEBUG;TRACE prompt 4 - x86 + x64 false @@ -45,13 +45,14 @@ prompt 4 false + x64 true bin\Demo\ DEBUG;TRACE full - x86 + x64 prompt false @@ -60,7 +61,7 @@ bin\Debug\ DEBUG;TRACE full - x86 + x64 prompt false @@ -69,7 +70,7 @@ TRACE true pdbonly - x86 + x64 prompt false @@ -78,7 +79,7 @@ bin\Demo\ TRACE;DEMO full - x86 + x64 prompt false diff --git a/PROMS/FlexableMessageBox/FlexableMessageBox.csproj b/PROMS/FlexableMessageBox/FlexableMessageBox.csproj index 9439fdb5..1d29ad99 100644 --- a/PROMS/FlexableMessageBox/FlexableMessageBox.csproj +++ b/PROMS/FlexableMessageBox/FlexableMessageBox.csproj @@ -29,7 +29,7 @@ DEBUG;TRACE prompt 4 - x86 + x64 false @@ -40,13 +40,14 @@ prompt 4 false + x64 true bin\Debug\ DEBUG;TRACE full - x86 + x64 prompt MinimumRecommendedRules.ruleset false @@ -56,7 +57,7 @@ TRACE true pdbonly - x86 + x64 prompt MinimumRecommendedRules.ruleset false diff --git a/PROMS/Formats/Formats.csproj b/PROMS/Formats/Formats.csproj index c1ca80da..ffd92dcb 100644 --- a/PROMS/Formats/Formats.csproj +++ b/PROMS/Formats/Formats.csproj @@ -35,6 +35,7 @@ prompt 4 false + x64 pdbonly @@ -44,6 +45,7 @@ prompt 4 false + x64 diff --git a/PROMS/LBWordLibrary/LBWordLibrary.csproj b/PROMS/LBWordLibrary/LBWordLibrary.csproj index 76bf81f4..8164fb19 100644 --- a/PROMS/LBWordLibrary/LBWordLibrary.csproj +++ b/PROMS/LBWordLibrary/LBWordLibrary.csproj @@ -34,7 +34,7 @@ TRACE;DEBUG prompt 4 - x86 + x64 false @@ -45,13 +45,14 @@ prompt 4 false + x64 true bin\Debug\ TRACE;DEBUG full - x86 + x64 prompt MinimumRecommendedRules.ruleset false @@ -61,7 +62,7 @@ TRACE true pdbonly - x86 + x64 prompt MinimumRecommendedRules.ruleset false diff --git a/PROMS/RoAccessToSql/RoAccessToSql.csproj b/PROMS/RoAccessToSql/RoAccessToSql.csproj index b25170f1..87f2089f 100644 --- a/PROMS/RoAccessToSql/RoAccessToSql.csproj +++ b/PROMS/RoAccessToSql/RoAccessToSql.csproj @@ -22,7 +22,7 @@ - AnyCPU + x64 true full false @@ -30,15 +30,17 @@ DEBUG;TRACE prompt 4 + false - AnyCPU + x64 pdbonly true bin\Release\ TRACE prompt 4 + false diff --git a/PROMS/TablePicker/TablePicker.csproj b/PROMS/TablePicker/TablePicker.csproj index d9e7d339..3c4288ca 100644 --- a/PROMS/TablePicker/TablePicker.csproj +++ b/PROMS/TablePicker/TablePicker.csproj @@ -60,6 +60,7 @@ full prompt false + x64 bin\Release\ @@ -84,6 +85,7 @@ none prompt false + x64 bin\Release\ @@ -108,6 +110,7 @@ none prompt false + x64 true @@ -116,7 +119,7 @@ 285212672 4096 full - x86 + x64 prompt MinimumRecommendedRules.ruleset false @@ -127,7 +130,7 @@ 285212672 true 4096 - x86 + x64 prompt MinimumRecommendedRules.ruleset false @@ -138,7 +141,7 @@ 285212672 true 4096 - x86 + x64 prompt MinimumRecommendedRules.ruleset false diff --git a/PROMS/VEPROMS User Interface/VEPROMS_UI.csproj b/PROMS/VEPROMS User Interface/VEPROMS_UI.csproj index b38454be..f9ed6495 100644 --- a/PROMS/VEPROMS User Interface/VEPROMS_UI.csproj +++ b/PROMS/VEPROMS User Interface/VEPROMS_UI.csproj @@ -50,7 +50,7 @@ DEBUG;TRACE prompt 4 - x86 + x64 false @@ -61,13 +61,14 @@ prompt 4 false + x64 true bin\Demo\ DEBUG;TRACE full - x86 + x64 prompt false @@ -76,7 +77,7 @@ bin\Debug\ DEBUG;TRACE full - x86 + x64 prompt false @@ -85,7 +86,7 @@ TRACE true pdbonly - x86 + x64 prompt false @@ -94,7 +95,7 @@ bin\Demo\ TRACE;DEMO full - x86 + x64 prompt false diff --git a/PROMS/VEPROMS.CSLA.Library/VEPROMS.CSLA.Library.csproj b/PROMS/VEPROMS.CSLA.Library/VEPROMS.CSLA.Library.csproj index bd901c66..b15fe55e 100644 --- a/PROMS/VEPROMS.CSLA.Library/VEPROMS.CSLA.Library.csproj +++ b/PROMS/VEPROMS.CSLA.Library/VEPROMS.CSLA.Library.csproj @@ -34,7 +34,7 @@ DEBUG;TRACE prompt 4 - x86 + x64 false @@ -45,13 +45,14 @@ prompt 4 false + x64 true bin\Demo\ DEBUG;TRACE full - x86 + x64 prompt false @@ -60,7 +61,7 @@ bin\Debug\ DEBUG;TRACE full - x86 + x64 prompt false @@ -69,7 +70,7 @@ TRACE true pdbonly - x86 + x64 prompt false @@ -78,7 +79,7 @@ bin\Demo\ TRACE;DEMO full - x86 + x64 prompt false diff --git a/PROMS/VEPROMS/VEPROMS.sln b/PROMS/VEPROMS/VEPROMS.sln index 47cfa040..dcd3d0bf 100644 --- a/PROMS/VEPROMS/VEPROMS.sln +++ b/PROMS/VEPROMS/VEPROMS.sln @@ -42,6 +42,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RoAccessToSql", "..\RoAcces {AEEE9FD1-6892-45E2-A67E-418C06D46FF9} = {AEEE9FD1-6892-45E2-A67E-418C06D46FF9} EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VlnStatus64", "VlnStatus64\VlnStatus64.csproj", "{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -548,6 +550,38 @@ Global {1EC96BDA-01E7-4153-A95D-6A4A36FA278E}.Release|Mixed Platforms.Build.0 = Release|Any CPU {1EC96BDA-01E7-4153-A95D-6A4A36FA278E}.Release|Win32.ActiveCfg = Release|Any CPU {1EC96BDA-01E7-4153-A95D-6A4A36FA278E}.Release|x86.ActiveCfg = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|Win32.ActiveCfg = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|Win32.Build.0 = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|x86.ActiveCfg = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|x86.Build.0 = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|Any CPU.ActiveCfg = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|Any CPU.Build.0 = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|Mixed Platforms.ActiveCfg = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|Mixed Platforms.Build.0 = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|Win32.ActiveCfg = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|Win32.Build.0 = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|x86.ActiveCfg = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|x86.Build.0 = Debug|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|Any CPU.ActiveCfg = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|Any CPU.Build.0 = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|Mixed Platforms.ActiveCfg = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|Mixed Platforms.Build.0 = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|Win32.ActiveCfg = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|Win32.Build.0 = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|x86.ActiveCfg = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|x86.Build.0 = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|Any CPU.Build.0 = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|Win32.ActiveCfg = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|Win32.Build.0 = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|x86.ActiveCfg = Release|Any CPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/PROMS/VEPROMS/VlnStatus64/StatusBarFrm.cs b/PROMS/VEPROMS/VlnStatus64/StatusBarFrm.cs new file mode 100644 index 00000000..6828458b --- /dev/null +++ b/PROMS/VEPROMS/VlnStatus64/StatusBarFrm.cs @@ -0,0 +1,232 @@ +/********************************************************************************************* + * Copyright 2002 - Volian Enterprises, Inc. All rights reserved. + * Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE + * ------------------------------------------------------------------------------ + * $Workfile: StatusBarFrm.cs $ $Revision: 3 $ + * $Author: Jsj $ $Date: 4/08/04 9:50a $ + * + * $History: StatusBarFrm.cs $ + * + * ***************** Version 3 ***************** + * User: Jsj Date: 4/08/04 Time: 9:50a + * Updated in $/LibSource/VlnStatus + * added profile code and try to optimize + * + * ***************** Version 2 ***************** + * User: Jsj Date: 11/26/02 Time: 3:38p + * Updated in $/LibSource/VlnStatus + * Added overbounds check + *********************************************************************************************/ + +using System; +using System.Drawing; +using System.Collections; +using System.ComponentModel; +using System.Windows.Forms; +//using ROProfiler; //don't forget to add VlnProfiler to the reference list + +namespace VlnStatus +{ + /// + /// Create a status window with a progress bar + /// + public class StatusBarFrm : System.Windows.Forms.Form + { + private System.Windows.Forms.ProgressBar progressBar1; + private System.Windows.Forms.Label lblBar; + private System.Windows.Forms.Label StatMsg; +// private string strLblLast=""; + /// + /// Required designer variable. + /// + private System.ComponentModel.Container components = null; + + public StatusBarFrm() + { + // + // Required for Windows Form Designer support + // + InitializeComponent(); + + Text = "Status"; + } + + public StatusBarFrm(string StatusBoxTitle) + { + // + // Required for Windows Form Designer support + // + InitializeComponent(); + + Text = StatusBoxTitle; + } + + /// + /// Clean up any resources being used. + /// + protected override void Dispose( bool disposing ) + { + if( disposing ) + { + if(components != null) + { + components.Dispose(); + } + } + base.Dispose( disposing ); + } + + #region Windows Form Designer generated code + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.progressBar1 = new System.Windows.Forms.ProgressBar(); + this.lblBar = new System.Windows.Forms.Label(); + this.StatMsg = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // progressBar1 + // + this.progressBar1.Location = new System.Drawing.Point(29, 83); + this.progressBar1.Name = "progressBar1"; + this.progressBar1.Size = new System.Drawing.Size(297, 27); + this.progressBar1.TabIndex = 0; + // + // lblBar + // + this.lblBar.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); + this.lblBar.Location = new System.Drawing.Point(29, 136); + this.lblBar.Name = "lblBar"; + this.lblBar.Size = new System.Drawing.Size(297, 16); + this.lblBar.TabIndex = 1; + this.lblBar.Text = "% Complete"; + this.lblBar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // StatMsg + // + this.StatMsg.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); + this.StatMsg.Location = new System.Drawing.Point(29, 18); + this.StatMsg.Name = "StatMsg"; + this.StatMsg.Size = new System.Drawing.Size(307, 56); + this.StatMsg.TabIndex = 2; + this.StatMsg.Text = "Progress Bar"; + this.StatMsg.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // StatusBarFrm + // + this.AutoScaleBaseSize = new System.Drawing.Size(6, 15); + this.ClientSize = new System.Drawing.Size(350, 171); + this.ControlBox = false; + this.Controls.Add(this.StatMsg); + this.Controls.Add(this.lblBar); + this.Controls.Add(this.progressBar1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "StatusBarFrm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Status"; + this.TopMost = true; + this.Load += new System.EventHandler(this.StatusBarFrm_Load); + this.ResumeLayout(false); + + } + #endregion + + private void StatusBarFrm_Load(object sender, System.EventArgs e) + { + + } + + public int Value + { + get + { + return progressBar1.Value; + } + set + { + if (value >= progressBar1.Maximum) + progressBar1.Value = progressBar1.Maximum; + else + progressBar1.Value = value; + UpateLabel(); + } + } + + public int Maximum + { + get + { + return progressBar1.Maximum; + } + set + { + progressBar1.Maximum = value; + } + } + + public int Step + { + get + { + return progressBar1.Step; + } + set + { + progressBar1.Step = value; + } + } + + public void PerformStep() + { + progressBar1.PerformStep(); + } + + private void UpateLabel() + { + lblBar.Text = (Math.Round((decimal)(progressBar1.Value * 100) / progressBar1.Maximum)).ToString(); + lblBar.Text += "% Complete"; +// if( lblBar.Text != strLblLast) +// { +// Profiler.Start("UpdateLabel"); + lblBar.Refresh(); +// lblBar.Update(); +// Profiler.End("UpdateLabel"); +// } +// strLblLast = lblBar.Text; + } + + public string StatusMessage + { + get + { + return StatMsg.Text; + } + set + { + StatMsg.Text = value; +// Profiler.Start("StatusMessage"); + StatMsg.Refresh(); +// StatMsg.Update(); +// Profiler.End("StatusMessage"); + } + } + + public string StatusBoxTitle + { + get + { + return Text; + } + set + { + Text = value; + } + } + + } +} diff --git a/PROMS/VEPROMS/VlnStatus64/StatusBarFrm.resx b/PROMS/VEPROMS/VlnStatus64/StatusBarFrm.resx new file mode 100644 index 00000000..63f8de01 --- /dev/null +++ b/PROMS/VEPROMS/VlnStatus64/StatusBarFrm.resx @@ -0,0 +1,157 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + False + + + Private + + + Private + + + False + + + Private + + + Private + + + False + + + Private + + + Private + + + False + + + (Default) + + + False + + + False + + + 8, 8 + + + True + + + 80 + + + StatusBarFrm + + + True + + + Private + + \ No newline at end of file diff --git a/PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.cs b/PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.cs new file mode 100644 index 00000000..386d145c --- /dev/null +++ b/PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.cs @@ -0,0 +1,140 @@ +/********************************************************************************************* + * Copyright 2002 - Volian Enterprises, Inc. All rights reserved. + * Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE + * ------------------------------------------------------------------------------ + * $Workfile: StatusMessageFrm.cs $ $Revision: 3 $ + * $Author: Jsj $ $Date: 5/11/04 9:30a $ + * + * $History: StatusMessageFrm.cs $ + * + * ***************** Version 3 ***************** + * User: Jsj Date: 5/11/04 Time: 9:30a + * Updated in $/LibSource/VlnStatus + * + * ***************** Version 2 ***************** + * User: Jsj Date: 11/26/02 Time: 3:38p + * Updated in $/LibSource/VlnStatus + * Added overbounds check + *********************************************************************************************/ + +using System; +using System.Drawing; +using System.Collections; +using System.ComponentModel; +using System.Windows.Forms; + +namespace VlnStatus +{ + /// + /// Create status message window. + /// + public class StatusMessageFrm : System.Windows.Forms.Form + { + private System.Windows.Forms.Label lblStatMsg; + /// + /// Required designer variable. + /// + private System.ComponentModel.Container components = null; + + public StatusMessageFrm() + { + // + // Required for Windows Form Designer support + // + InitializeComponent(); + } + + public StatusMessageFrm(string StatTitle) + { + // + // Required for Windows Form Designer support + // + InitializeComponent(); + + Text = StatTitle; + } + + /// + /// Clean up any resources being used. + /// + protected override void Dispose( bool disposing ) + { + if( disposing ) + { + if(components != null) + { + components.Dispose(); + } + } + base.Dispose( disposing ); + } + + #region Windows Form Designer generated code + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.lblStatMsg = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // lblStatMsg + // + this.lblStatMsg.Location = new System.Drawing.Point(19, 20); + this.lblStatMsg.Name = "lblStatMsg"; + this.lblStatMsg.Size = new System.Drawing.Size(420, 81); + this.lblStatMsg.TabIndex = 0; + this.lblStatMsg.Text = "Put Status Message Here"; + this.lblStatMsg.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // StatusMessageFrm + // + this.AutoScaleBaseSize = new System.Drawing.Size(7, 19); + this.ClientSize = new System.Drawing.Size(457, 117); + this.ControlBox = false; + this.Controls.Add(this.lblStatMsg); + this.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "StatusMessageFrm"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "Status"; + this.TopMost = true; + this.Load += new System.EventHandler(this.StatusMessageFrm_Load); + this.ResumeLayout(false); + + } + #endregion + + private void StatusMessageFrm_Load(object sender, System.EventArgs e) + { + + } + + public string StatusMessage + { + get + { + return lblStatMsg.Text; + } + set + { + lblStatMsg.Text = value; + lblStatMsg.Refresh(); + } + } + + public string StatusBoxTitle + { + get + { + return Text; + } + set + { + Text = value; + } + } + } +} diff --git a/PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.resx b/PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.resx new file mode 100644 index 00000000..7edd5b3c --- /dev/null +++ b/PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.resx @@ -0,0 +1,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + False + + + Private + + + Private + + + False + + + (Default) + + + False + + + False + + + 8, 8 + + + StatusMessageFrm + + + True + + + 80 + + + True + + + Private + + \ No newline at end of file diff --git a/PROMS/VEPROMS/VlnStatus64/VlnStatus64.csproj b/PROMS/VEPROMS/VlnStatus64/VlnStatus64.csproj new file mode 100644 index 00000000..b0ea1627 --- /dev/null +++ b/PROMS/VEPROMS/VlnStatus64/VlnStatus64.csproj @@ -0,0 +1,58 @@ + + + + + Debug + AnyCPU + {797DE52C-278C-41D4-8B65-B9CFC02DDCD9} + Library + Properties + VlnStatus64 + VlnStatus64 + v4.8.1 + 512 + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + x64 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + x64 + + + + + + + + + + + + Form + + + Form + + + + + + + + + + \ No newline at end of file diff --git a/PROMS/VEPROMS/VlnStatus64/VlnStatusBar.cs b/PROMS/VEPROMS/VlnStatus64/VlnStatusBar.cs new file mode 100644 index 00000000..a7a4e2cd --- /dev/null +++ b/PROMS/VEPROMS/VlnStatus64/VlnStatusBar.cs @@ -0,0 +1,148 @@ +/********************************************************************************************* + * Copyright 2002 - Volian Enterprises, Inc. All rights reserved. + * Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE + * ------------------------------------------------------------------------------ + * $Workfile: VlnStatusBar.cs $ $Revision: 4 $ + * $Author: Jsj $ $Date: 11/26/02 4:25p $ + * + * $History: VlnStatusBar.cs $ + * + * ***************** Version 4 ***************** + * User: Jsj Date: 11/26/02 Time: 4:25p + * Updated in $/LibSource/VlnStatus + * fixed problem with counter + * + * ***************** Version 3 ***************** + * User: Jsj Date: 11/26/02 Time: 3:38p + * Updated in $/LibSource/VlnStatus + * Added overbounds check + *********************************************************************************************/ +using System; + +namespace VlnStatus +{ + /// + /// Creates a Status Window with a progression bar control. + /// + /// This class has two constructors. One allows you to pass in the title + /// of the Status Box. The Other provides a default title of "Status". + /// The Status Box Title can also be set/changed via the StatusBoxTitle + /// property. + /// + /// + /// + public class VlnStatusBar + { + StatusBarFrm StatBar; + private int Cnt; + + // Create a status window with the default title of "Status" + public VlnStatusBar() + { + StatBar = new StatusBarFrm(); + StatBar.Show(); + } + + // Create a status window with the passed in title + public VlnStatusBar(string Title) + { + StatBar = new StatusBarFrm(Title); + StatBar.Show(); + } + + // Increament the the status bar by the passed in value. + public void PerformStep(int val) + { +// StatBar.Value = val; +// Cnt = val; + BarValue = val; + StatBar.PerformStep(); + } + + // Increament the the status bar by one + public void PerformStep() + { +// StatBar.Value = StatBar.Value + 1; + Cnt++; + BarValue = Cnt; + StatBar.PerformStep(); + } + + // This property gets or sets the current status bar value. + public int BarValue + { + get + { + return StatBar.Value; + } + set + { + StatBar.Value = value; + Cnt = value; + } + } + + // This property sets or gets the maximum value that the + // BarValue property can be. i.e. when BarValue reaches this + // number, the status bar is completely displayed. + public int BarMax + { + get + { + return StatBar.Maximum; + } + set + { + StatBar.Maximum = value; + } + } + + // This property sets or gets the increamenting value used to + // move the status bar. For example, if set to 5, each tick of + // the status bar represents a value of 5. + public int BarStepValue + { + get + { + return StatBar.Step; + } + set + { + StatBar.Step = value; + } + } + + // This property sets or gets the message above the status bar. + public string StatMsg + { + get + { + return StatBar.StatusMessage; + } + set + { + StatBar.StatusMessage = value; + } + } + + // This property sets or gets the Status Window Title + public string StatusBoxTitle + { + get + { + return StatBar.StatusBoxTitle; + } + set + { + StatBar.StatusBoxTitle = value; + } + } + + public void Dispose() + { + StatBar.Dispose(); + } + + } +} + diff --git a/PROMS/VEPROMS/VlnStatus64/VlnStatusMessage.cs b/PROMS/VEPROMS/VlnStatus64/VlnStatusMessage.cs new file mode 100644 index 00000000..e0221ee8 --- /dev/null +++ b/PROMS/VEPROMS/VlnStatus64/VlnStatusMessage.cs @@ -0,0 +1,79 @@ +/********************************************************************************************* + * Copyright 2002 - Volian Enterprises, Inc. All rights reserved. + * Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE + * ------------------------------------------------------------------------------ + * $Workfile: VlnStatusMessage.cs $ $Revision: 3 $ + * $Author: Jsj $ $Date: 11/26/02 3:38p $ + * + * $History: VlnStatusMessage.cs $ + * + * ***************** Version 3 ***************** + * User: Jsj Date: 11/26/02 Time: 3:38p + * Updated in $/LibSource/VlnStatus + * Added overbounds check + *********************************************************************************************/ + +using System; + +namespace VlnStatus +{ + /// + /// Creates a Status Window to display a status message. + /// + /// This class has two constructors. One allows you to pass in the title + /// of the Status Box. The Other provides a default title of "Status". + /// The Status Box Title can also be set/changed via the StatusBoxTitle + /// property. + /// + /// + public class VlnStatusMessage + { + StatusMessageFrm StatusMessageBox; + + // Create a status window with the default title of "Status" + public VlnStatusMessage() + { + StatusMessageBox = new StatusMessageFrm(); + StatusMessageBox.Show(); + } + + // Create a status window with the passed in title. + public VlnStatusMessage(string StatusBoxTitle) + { + StatusMessageBox = new StatusMessageFrm(StatusBoxTitle); + StatusMessageBox.Show(); + } + + // This property gets or sets the current status message + public string StatusMessage + { + get + { + return StatusMessageBox.StatusMessage; + } + set + { + StatusMessageBox.StatusMessage = value; + } + } + + // This property gets or sets the status box title + public string StatusBoxTitle + { + get + { + return StatusMessageBox.StatusBoxTitle; + } + set + { + StatusMessageBox.StatusBoxTitle = value; + } + } + + public void Dispose() + { + StatusMessageBox.Dispose(); + } + + } +} diff --git a/PROMS/VG/VG.csproj b/PROMS/VG/VG.csproj index 7308ee23..fbadc1d4 100644 --- a/PROMS/VG/VG.csproj +++ b/PROMS/VG/VG.csproj @@ -61,7 +61,7 @@ 4 full prompt - x86 + x64 false @@ -87,6 +87,7 @@ none prompt false + x64 true @@ -94,7 +95,7 @@ DEBUG;TRACE 285212672 full - x86 + x64 prompt false @@ -104,7 +105,7 @@ DEBUG;TRACE 285212672 full - x86 + x64 prompt false @@ -115,7 +116,7 @@ true - x86 + x64 prompt false @@ -125,7 +126,7 @@ TRACE;DEMO 285212672 full - x86 + x64 prompt false diff --git a/PROMS/Volian.Base.Library/Volian.Base.Library.csproj b/PROMS/Volian.Base.Library/Volian.Base.Library.csproj index 4d7bbcd7..525629a6 100644 --- a/PROMS/Volian.Base.Library/Volian.Base.Library.csproj +++ b/PROMS/Volian.Base.Library/Volian.Base.Library.csproj @@ -35,6 +35,7 @@ prompt 4 false + x64 pdbonly @@ -44,13 +45,14 @@ prompt 4 false + x64 true bin\Debug\ DEBUG;TRACE full - x86 + x64 prompt false @@ -59,7 +61,7 @@ TRACE true pdbonly - x86 + x64 prompt false diff --git a/PROMS/Volian.Controls.Library/Volian.Controls.Library.csproj b/PROMS/Volian.Controls.Library/Volian.Controls.Library.csproj index a6afdbca..42a8db20 100644 --- a/PROMS/Volian.Controls.Library/Volian.Controls.Library.csproj +++ b/PROMS/Volian.Controls.Library/Volian.Controls.Library.csproj @@ -34,7 +34,7 @@ DEBUG;TRACE prompt 4 - x86 + x64 false @@ -45,13 +45,14 @@ prompt 4 false + x64 true bin\Demo\ DEBUG;TRACE full - x86 + x64 prompt false @@ -60,7 +61,7 @@ bin\Debug\ DEBUG;TRACE full - x86 + x64 prompt false @@ -69,7 +70,7 @@ TRACE true pdbonly - x86 + x64 prompt false @@ -78,7 +79,7 @@ bin\Demo\ TRACE;DEMO full - x86 + x64 prompt false diff --git a/PROMS/Volian.Pipe.Library/Volian.Pipe.Library.csproj b/PROMS/Volian.Pipe.Library/Volian.Pipe.Library.csproj index 1e8f9c29..788d4651 100644 --- a/PROMS/Volian.Pipe.Library/Volian.Pipe.Library.csproj +++ b/PROMS/Volian.Pipe.Library/Volian.Pipe.Library.csproj @@ -26,6 +26,7 @@ prompt 4 false + x64 pdbonly @@ -35,13 +36,14 @@ prompt 4 false + x64 true bin\Debug\ DEBUG;TRACE full - x86 + x64 prompt MinimumRecommendedRules.ruleset false @@ -51,7 +53,7 @@ TRACE true pdbonly - x86 + x64 prompt MinimumRecommendedRules.ruleset false diff --git a/PROMS/Volian.Print.Library/Volian.Print.Library.csproj b/PROMS/Volian.Print.Library/Volian.Print.Library.csproj index d272fbe1..2f0665a3 100644 --- a/PROMS/Volian.Print.Library/Volian.Print.Library.csproj +++ b/PROMS/Volian.Print.Library/Volian.Print.Library.csproj @@ -34,7 +34,7 @@ DEBUG;TRACE prompt 4 - x86 + x64 false @@ -45,13 +45,14 @@ prompt 4 false + x64 true bin\Debug\ DEBUG;TRACE full - x86 + x64 prompt false @@ -60,7 +61,7 @@ TRACE true pdbonly - x86 + x64 prompt false @@ -98,8 +99,8 @@ - - ..\ReferencedObjects\LibSource\VlnStatus\bin\Debug\VlnStatus.dll + + ..\VEPROMS\VlnStatus64\bin\Debug\VlnStatus64.dll diff --git a/PROMS/Volian.Svg.Library/Volian.Svg.Library.csproj b/PROMS/Volian.Svg.Library/Volian.Svg.Library.csproj index e26e4189..9beda668 100644 --- a/PROMS/Volian.Svg.Library/Volian.Svg.Library.csproj +++ b/PROMS/Volian.Svg.Library/Volian.Svg.Library.csproj @@ -34,7 +34,7 @@ DEBUG;TRACE prompt 4 - x86 + x64 false @@ -45,13 +45,14 @@ prompt 4 false + x64 true bin\Debug\ DEBUG;TRACE full - x86 + x64 prompt false @@ -60,7 +61,7 @@ TRACE true pdbonly - x86 + x64 prompt false diff --git a/PROMS/Volian.Utils.Library/Volian.Utils.Library.csproj b/PROMS/Volian.Utils.Library/Volian.Utils.Library.csproj index e6df0d64..d098bfa8 100644 --- a/PROMS/Volian.Utils.Library/Volian.Utils.Library.csproj +++ b/PROMS/Volian.Utils.Library/Volian.Utils.Library.csproj @@ -31,6 +31,7 @@ .\bin\Debug\ DEBUG;TRACE false + x64 pdbonly @@ -38,13 +39,14 @@ .\bin\Release\ TRACE false + x64 true bin\Debug\ DEBUG;TRACE full - x86 + x64 MinimumRecommendedRules.ruleset false @@ -53,7 +55,7 @@ TRACE true pdbonly - x86 + x64 MinimumRecommendedRules.ruleset false diff --git a/PROMS/XYPlots/XYPlots.csproj b/PROMS/XYPlots/XYPlots.csproj index 83a3a904..93469b8a 100644 --- a/PROMS/XYPlots/XYPlots.csproj +++ b/PROMS/XYPlots/XYPlots.csproj @@ -61,7 +61,7 @@ 4 full prompt - x86 + x64 false @@ -87,6 +87,7 @@ none prompt false + x64 true @@ -94,7 +95,7 @@ DEBUG;TRACE 285212672 full - x86 + x64 prompt false @@ -104,7 +105,7 @@ DEBUG;TRACE 285212672 full - x86 + x64 prompt false @@ -115,7 +116,7 @@ true - x86 + x64 prompt false @@ -125,7 +126,7 @@ TRACE;DEMO 285212672 full - x86 + x64 prompt false -- 2.49.1