1. 업무일지 작업형태 선택 ui 변경
2. 작업형태 목록 편집 UI 추가 3. 스케쥴 관련메일 발송주기를 15분에서 30분으로 변경하고 18시 이후에는 발송하지 않게 한다(최근 오류메세지가 수신된다)
This commit is contained in:
49
SubProject/FCOMMON/fLOV.cs
Normal file
49
SubProject/FCOMMON/fLOV.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user