37 lines
		
	
	
		
			748 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			748 B
		
	
	
	
		
			C#
		
	
	
	
	
	
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;
 | 
						|
		}
 | 
						|
	}
 | 
						|
} |