 4593c6fd74
			
		
	
	4593c6fd74
	
	
	
		
			
			2. 작업형태 목록 편집 UI 추가 3. 스케쥴 관련메일 발송주기를 15분에서 30분으로 변경하고 18시 이후에는 발송하지 않게 한다(최근 오류메세지가 수신된다)
		
			
				
	
	
		
			50 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.ComponentModel;
 | |
| using System.Data;
 | |
| using System.Drawing;
 | |
| using System.Linq;
 | |
| using System.Text;
 | |
| using System.Threading.Tasks;
 | |
| using System.Windows.Forms;
 | |
| 
 | |
| namespace FCOMMON
 | |
| {
 | |
|     public partial class fLOV : Form
 | |
|     {
 | |
|         public fLOV(string[] list,string defitem = "")
 | |
|         {
 | |
|             InitializeComponent();
 | |
| 
 | |
|             this.dv.Rows.Clear();
 | |
|             foreach(var item in list)
 | |
|             {
 | |
|                 dv.Rows.Add(new object[] { item });
 | |
|             }
 | |
|         }
 | |
| 
 | |
|         private void fLOV_Load(object sender, EventArgs e)
 | |
|         {
 | |
| 
 | |
|         }
 | |
| 
 | |
|         private void arDatagridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 | |
|         {
 | |
|             FeedBack();
 | |
|         }
 | |
| 
 | |
|         private void btSelect_Click(object sender, EventArgs e)
 | |
|         {
 | |
|             FeedBack();
 | |
|         }
 | |
| 
 | |
|         void FeedBack()
 | |
|         {
 | |
|             if (dv.SelectedCells.Count < 1) return;
 | |
|             this.SelectedValue = dv.SelectedCells[0].Value.ToString();
 | |
|             DialogResult = DialogResult.OK;
 | |
|         }
 | |
|         public string SelectedValue { get; set; }
 | |
|     }
 | |
| }
 |