C2025-027-AnnotationsTypeSelect
This commit is contained in:
@@ -12,20 +12,19 @@ using VEPROMS.CSLA.Library;
|
||||
namespace VEPROMS
|
||||
{
|
||||
// C2025-027 Annotation Type Filtering
|
||||
public partial class DlgAnnotationsSelect : Form
|
||||
public partial class dlgAnnotationsSelect : Form
|
||||
{
|
||||
int AnnotationTypeID;
|
||||
string AnnotationNameStr = "";
|
||||
//int AnnotationTypeID;
|
||||
//string AnnotationNameStr = "";
|
||||
|
||||
public DlgAnnotationsSelect()
|
||||
public dlgAnnotationsSelect()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public DlgAnnotationsSelect(string userid)
|
||||
public dlgAnnotationsSelect(string userid)
|
||||
{
|
||||
InitializeComponent();
|
||||
//MyItemID = pi.ItemID;
|
||||
UserID = userid;
|
||||
}
|
||||
|
||||
@@ -97,13 +96,13 @@ namespace VEPROMS
|
||||
// Save selected list to DB.
|
||||
private void btnUpdate_Click(object sender, EventArgs e)
|
||||
{
|
||||
int AnnotationTypeID;
|
||||
string AnnotationNameStr = "";
|
||||
// dltFlg flag is used to notify SQL SP to deleted all the entries for the user before entering the annotation type selections.
|
||||
int dltFlg = 1;
|
||||
|
||||
foreach (AnnotataionItem item in lstSelected.Items.OfType<AnnotataionItem>())
|
||||
{
|
||||
lstSelected.DisplayMember = "NameStr";
|
||||
lstSelected.ValueMember = "TypeID";
|
||||
|
||||
AnnotationTypeID = item.TypeID;
|
||||
AnnotationNameStr = item.NameStr;
|
||||
|
||||
|
Reference in New Issue
Block a user