Commit for development environment setup
This commit is contained in:
37
PROMS/VEPROMS_Security/WinApp/frmGroupSelect.cs
Normal file
37
PROMS/VEPROMS_Security/WinApp/frmGroupSelect.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using Csla;
|
||||
|
||||
namespace WinApp
|
||||
{
|
||||
public partial class frmGroupSelect : Form
|
||||
{
|
||||
public frmGroupSelect()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
private void frmGroupSelect_Load(object sender, EventArgs e)
|
||||
{
|
||||
groupInfoListBindingSource.DataSource = GroupInfoList.Get();
|
||||
}
|
||||
public int GID
|
||||
{
|
||||
get { return (int)lbGroups.SelectedValue; }
|
||||
}
|
||||
private void btnOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void btnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user