C2025-051 Add a "General Tools" option to the V->Proms Menu.
This commit is contained in:
@@ -2013,6 +2013,7 @@ namespace VEPROMS
|
||||
private DevComponents.DotNetBar.ButtonItem btnUserControlOfFormats;
|
||||
private DevComponents.DotNetBar.ButtonItem btnUserControlOfFormatsExport;
|
||||
private DevComponents.DotNetBar.ButtonItem btnUserControlOfFormatsImport;
|
||||
private DevComponents.DotNetBar.ButtonItem btnGeneralTools;
|
||||
private TabItemsToClose _MyCloseTabList = new TabItemsToClose();
|
||||
|
||||
public TabItemsToClose MyCloseTabList
|
||||
@@ -2251,6 +2252,16 @@ namespace VEPROMS
|
||||
btnAdministrativeTools.Click += new EventHandler(btnAdministrativeTools_Click);
|
||||
btnAdmin.SubItems.Add(btnAdministrativeTools);
|
||||
|
||||
//general Tools
|
||||
btnGeneralTools = new ButtonItem("btnGeneralTools", "General Tools");
|
||||
btnGeneralTools.Visible = btnGeneralTools.Enabled = true;
|
||||
btnGeneralTools.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
btnGeneralTools.CanCustomize = false;
|
||||
btnGeneralTools.Image = global::VEPROMS.Properties.Resources.toolbox;
|
||||
btnGeneralTools.Click += new EventHandler(btnGeneralTools_Click);
|
||||
itemContainer3.SubItems.Add(btnGeneralTools);
|
||||
|
||||
|
||||
// C2025-031 added tool tip messages
|
||||
this.superTooltip1.SetSuperTooltip(btnManageSecurity, new SuperTooltipInfo("Manage Security", "", "Add, Modify, and Delete PROMS User Access", null, null, eTooltipColor.Gray));
|
||||
// remove commented out line below when User Control of Formats code is deleted
|
||||
@@ -2258,6 +2269,7 @@ namespace VEPROMS
|
||||
this.superTooltip1.SetSuperTooltip(btnResetSecurity, new SuperTooltipInfo("Reset Security", "", "WARNING this will \nREMOVE ALL PROMS USERS and Reset to the\nOriginal Volian Defaults", null, null, eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(btnAdministrativeTools, new SuperTooltipInfo("Administrative Tools", "", "Open the PROMS Adminstration Tools Window", null, null, eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(btnUpdateFormats, new SuperTooltipInfo("Update Formats", "", "Install New Formats \n or Re-Install Formats", null, null, eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(btnGeneralTools, new SuperTooltipInfo("General Tools", "", "Open the PROMS General Tools Window", null, null, eTooltipColor.Gray));
|
||||
|
||||
try
|
||||
{
|
||||
@@ -2954,6 +2966,13 @@ namespace VEPROMS
|
||||
frm.ShowDialog(this);
|
||||
}
|
||||
|
||||
void btnGeneralTools_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmGenTools frm = new frmGenTools(MySessionInfo, this);
|
||||
frm.ProgressBar = bottomProgBar;
|
||||
frm.ShowDialog(this);
|
||||
}
|
||||
|
||||
private static VolianTimer _TimeActivity1 = new VolianTimer("frmVEPROMS.cs tmrCloseTabItems_Tick", 2108);
|
||||
|
||||
void tmrCloseTabItems_Tick(object sender, EventArgs e)
|
||||
|
Reference in New Issue
Block a user