관리 누락 파일 추가
This commit is contained in:
33
SubProject/FCM0000/fSelectDate.cs
Normal file
33
SubProject/FCM0000/fSelectDate.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace FCM0000
|
||||
{
|
||||
public partial class fSelectDate : Form
|
||||
{
|
||||
public DateTime dtSelect = DateTime.Now;
|
||||
public fSelectDate(string dtstr) : this(DateTime.Parse(dtstr)) { }
|
||||
public fSelectDate(DateTime dt)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.monthCalendar1.SetDate(dt);
|
||||
}
|
||||
|
||||
private void fSelectDate_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void btOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
dtSelect = this.monthCalendar1.SelectionStart;
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user