181210 chi NR구매등록시 이미지 표시 및 추가 기능
NR구매목록에서 권한 없는 사람이 더블클릭으로 편집할 수 있는 버그 수정
This commit is contained in:
1122
SubProject/FBS0000/Holiday/fHolyday.Designer.cs
generated
1122
SubProject/FBS0000/Holiday/fHolyday.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -1,206 +1,206 @@
|
||||
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;
|
||||
using NetOffice;
|
||||
using Outlook = NetOffice.OutlookApi;
|
||||
using NetOffice.OutlookApi.Enums;
|
||||
|
||||
namespace FBS0000
|
||||
{
|
||||
public partial class fHolyday : FCOMMON.fBase
|
||||
{
|
||||
public fHolyday()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.dsMSSQL.Holyday.TableNewRow += Holyday_TableNewRow;
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
tbSD.Text = DateTime.Now.Year.ToString("0000") + "-01-01";
|
||||
tbED.Text = DateTime.Now.AddDays(10).ToShortDateString();
|
||||
|
||||
var userlist = FCOMMON.DBM.getUserTable();
|
||||
dvc_user.DataSource = userlist;
|
||||
dvc_user.ValueMember = "Key";
|
||||
dvc_user.DisplayMember = "Value";
|
||||
|
||||
var cateList = FCOMMON.DBM.getCodeTable("02");
|
||||
this.dvc_cate.DataSource = cateList;
|
||||
dvc_cate.ValueMember = "Key";
|
||||
dvc_cate.DisplayMember = "Value";
|
||||
|
||||
var rrltList = FCOMMON.DBM.getCodeTable("03");
|
||||
this.dvc_result.DataSource = rrltList;
|
||||
dvc_result.ValueMember = "Key";
|
||||
dvc_result.DisplayMember = "Value";
|
||||
|
||||
//udpate user list
|
||||
var userList = FCOMMON.DBM.getUserList();
|
||||
this.cmbUser.Items.Clear();
|
||||
this.cmbUser.Items.Add("-- ALL --");
|
||||
int curuserindex = -1;
|
||||
foreach (var user in userList)
|
||||
{
|
||||
this.cmbUser.Items.Add(string.Format("[{0}] {1}", user.Key, user.Value));
|
||||
if (user.Key == FCOMMON.info.Login.no) curuserindex = cmbUser.Items.Count - 1;
|
||||
}
|
||||
this.cmbUser.SelectedIndex = curuserindex;
|
||||
|
||||
//일반사용자의경우에는 상태를 변경하지 못한다.
|
||||
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAutoType.holyday));
|
||||
if (curLevel >= 5)
|
||||
{
|
||||
//권한이 잇으므로 모든 사용자로 한다.
|
||||
}
|
||||
else
|
||||
{
|
||||
this.cmbUser.Enabled = false; //사용자를 고칠수 없게 한다.
|
||||
}
|
||||
|
||||
RefreshData();
|
||||
}
|
||||
|
||||
void Holyday_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
{
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
e.Row["uid"] = FCOMMON.info.Login.no;
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
e.Row["cate"] = "10"; //기본 신청
|
||||
e.Row["sdate"] = DateTime.Now.ToShortDateString();
|
||||
e.Row["edate"] = DateTime.Now.ToShortDateString();
|
||||
e.Row["term"] = 1.0f;
|
||||
e.Row["Result"] = "00";
|
||||
}
|
||||
|
||||
|
||||
void RefreshData()
|
||||
{
|
||||
//update data
|
||||
string uid = "%";
|
||||
if (cmbUser.SelectedIndex > 0)
|
||||
{
|
||||
uid = cmbUser.Text.Substring(1, cmbUser.Text.IndexOf(']') - 1);
|
||||
}
|
||||
this.ta.Fill(this.dsMSSQL.Holyday, tbSD.Text, tbED.Text, uid);
|
||||
|
||||
//잔량계산
|
||||
double sumdr = 0;
|
||||
double sumcr = 0;
|
||||
double jan = 0;
|
||||
foreach( dsMSSQL.HolydayRow dr in this.dsMSSQL.Holyday.Rows)
|
||||
{
|
||||
if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached) continue;
|
||||
sumdr += dr.termDr;
|
||||
sumcr += dr.term;
|
||||
}
|
||||
jan = sumdr - sumcr;
|
||||
sbGen.Text = sumdr.ToString("N0");
|
||||
sbUse.Text = sumcr.ToString("N0");
|
||||
sbJan.Text = jan.ToString("N0");
|
||||
if (jan < 0) sbJan.ForeColor = Color.Red;
|
||||
else sbJan.ForeColor = Color.Blue;
|
||||
}
|
||||
private void boardBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
var dlg = FCOMMON.Util.MsgQ("변경된 내용을 저장하시겠습니까?");
|
||||
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
try
|
||||
{
|
||||
this.tam.UpdateAll(this.dsMSSQL);
|
||||
} catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var newdr = this.dsMSSQL.Holyday.NewHolydayRow();
|
||||
var f = new fHolyday_Add(newdr);
|
||||
if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
newdr.Delete();
|
||||
}
|
||||
else
|
||||
{
|
||||
newdr.EndEdit();
|
||||
this.dsMSSQL.Holyday.AddHolydayRow(newdr);
|
||||
}
|
||||
}
|
||||
|
||||
private void autoResizeComlumnsToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
dv1.AutoResizeColumns();
|
||||
}
|
||||
|
||||
private void dv1_DataError(object sender, DataGridViewDataErrorEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void dv1_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsMSSQL.HolydayRow;
|
||||
var f = new fHolyday_Add(dr);
|
||||
if(f.ShowDialog() != System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
dr.RejectChanges();
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshData();
|
||||
}
|
||||
|
||||
private void tbSD_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
var tb = sender as ToolStripTextBox;
|
||||
if(e.KeyCode == Keys.Enter)
|
||||
{
|
||||
string datestring ;
|
||||
if(FCOMMON.Util.MakeDateString(tb.Text,out datestring))
|
||||
{
|
||||
tb.Text = datestring;
|
||||
SendKeys.Send("{TAB}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void sendToMailToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsMSSQL.HolydayRow;
|
||||
|
||||
//string to = dr.tolist;
|
||||
//string body = "<html><body>test 2<strong>sfd</strong>nice to meet</body></html>";
|
||||
//string bcc = string.Empty;
|
||||
//string cc = string.Empty;
|
||||
//string subject = "etst mail";
|
||||
|
||||
Outlook.Application outlookApplication = new Outlook.Application();
|
||||
Outlook.MailItem newTask = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem;
|
||||
newTask.Subject="mail test";
|
||||
newTask.To = "Chikyun.Kim@amkor.co.kr";
|
||||
newTask.HTMLBody = "<i><b>this is test mail</b></i>";
|
||||
newTask.BodyFormat = OlBodyFormat.olFormatHTML;
|
||||
newTask.Display();
|
||||
|
||||
//FCOMMON.Util.RunDefaultMail(to, subject, body, cc, bcc);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
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;
|
||||
using NetOffice;
|
||||
using Outlook = NetOffice.OutlookApi;
|
||||
using NetOffice.OutlookApi.Enums;
|
||||
|
||||
namespace FBS0000
|
||||
{
|
||||
public partial class fHolyday : FCOMMON.fBase
|
||||
{
|
||||
public fHolyday()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.dsMSSQL.Holyday.TableNewRow += Holyday_TableNewRow;
|
||||
}
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
tbSD.Text = DateTime.Now.Year.ToString("0000") + "-01-01";
|
||||
tbED.Text = DateTime.Now.AddDays(10).ToShortDateString();
|
||||
|
||||
var userlist = FCOMMON.DBM.getUserTable();
|
||||
dvc_user.DataSource = userlist;
|
||||
dvc_user.ValueMember = "Key";
|
||||
dvc_user.DisplayMember = "Value";
|
||||
|
||||
var cateList = FCOMMON.DBM.getCodeTable("02");
|
||||
this.dvc_cate.DataSource = cateList;
|
||||
dvc_cate.ValueMember = "Key";
|
||||
dvc_cate.DisplayMember = "Value";
|
||||
|
||||
var rrltList = FCOMMON.DBM.getCodeTable("03");
|
||||
this.dvc_result.DataSource = rrltList;
|
||||
dvc_result.ValueMember = "Key";
|
||||
dvc_result.DisplayMember = "Value";
|
||||
|
||||
//udpate user list
|
||||
var userList = FCOMMON.DBM.getUserList();
|
||||
this.cmbUser.Items.Clear();
|
||||
this.cmbUser.Items.Add("-- ALL --");
|
||||
int curuserindex = -1;
|
||||
foreach (var user in userList)
|
||||
{
|
||||
this.cmbUser.Items.Add(string.Format("[{0}] {1}", user.Key, user.Value));
|
||||
if (user.Key == FCOMMON.info.Login.no) curuserindex = cmbUser.Items.Count - 1;
|
||||
}
|
||||
this.cmbUser.SelectedIndex = curuserindex;
|
||||
|
||||
//일반사용자의경우에는 상태를 변경하지 못한다.
|
||||
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAutoType.holyday));
|
||||
if (curLevel >= 5)
|
||||
{
|
||||
//권한이 잇으므로 모든 사용자로 한다.
|
||||
}
|
||||
else
|
||||
{
|
||||
this.cmbUser.Enabled = false; //사용자를 고칠수 없게 한다.
|
||||
}
|
||||
|
||||
RefreshData();
|
||||
}
|
||||
|
||||
void Holyday_TableNewRow(object sender, DataTableNewRowEventArgs e)
|
||||
{
|
||||
e.Row["wuid"] = FCOMMON.info.Login.no;
|
||||
e.Row["uid"] = FCOMMON.info.Login.no;
|
||||
e.Row["wdate"] = DateTime.Now;
|
||||
e.Row["cate"] = "10"; //기본 신청
|
||||
e.Row["sdate"] = DateTime.Now.ToShortDateString();
|
||||
e.Row["edate"] = DateTime.Now.ToShortDateString();
|
||||
e.Row["term"] = 1.0f;
|
||||
e.Row["Result"] = "00";
|
||||
}
|
||||
|
||||
|
||||
void RefreshData()
|
||||
{
|
||||
//update data
|
||||
string uid = "%";
|
||||
if (cmbUser.SelectedIndex > 0)
|
||||
{
|
||||
uid = cmbUser.Text.Substring(1, cmbUser.Text.IndexOf(']') - 1);
|
||||
}
|
||||
this.ta.Fill(this.dsMSSQL.Holyday, tbSD.Text, tbED.Text, uid);
|
||||
|
||||
//잔량계산
|
||||
double sumdr = 0;
|
||||
double sumcr = 0;
|
||||
double jan = 0;
|
||||
foreach( dsMSSQL.HolydayRow dr in this.dsMSSQL.Holyday.Rows)
|
||||
{
|
||||
if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached) continue;
|
||||
sumdr += dr.termDr;
|
||||
sumcr += dr.term;
|
||||
}
|
||||
jan = sumdr - sumcr;
|
||||
sbGen.Text = sumdr.ToString("N0");
|
||||
sbUse.Text = sumcr.ToString("N0");
|
||||
sbJan.Text = jan.ToString("N0");
|
||||
if (jan < 0) sbJan.ForeColor = Color.Red;
|
||||
else sbJan.ForeColor = Color.Blue;
|
||||
}
|
||||
private void boardBindingNavigatorSaveItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Validate();
|
||||
this.bs.EndEdit();
|
||||
var dlg = FCOMMON.Util.MsgQ("변경된 내용을 저장하시겠습니까?");
|
||||
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
|
||||
try
|
||||
{
|
||||
this.tam.UpdateAll(this.dsMSSQL);
|
||||
} catch (Exception ex)
|
||||
{
|
||||
FCOMMON.Util.MsgE(ex.Message);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var newdr = this.dsMSSQL.Holyday.NewHolydayRow();
|
||||
var f = new fHolyday_Add(newdr);
|
||||
if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
newdr.Delete();
|
||||
}
|
||||
else
|
||||
{
|
||||
newdr.EndEdit();
|
||||
this.dsMSSQL.Holyday.AddHolydayRow(newdr);
|
||||
}
|
||||
}
|
||||
|
||||
private void autoResizeComlumnsToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
dv1.AutoResizeColumns();
|
||||
}
|
||||
|
||||
private void dv1_DataError(object sender, DataGridViewDataErrorEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void dv1_DoubleClick(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsMSSQL.HolydayRow;
|
||||
var f = new fHolyday_Add(dr);
|
||||
if(f.ShowDialog() != System.Windows.Forms.DialogResult.OK)
|
||||
{
|
||||
dr.RejectChanges();
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshData();
|
||||
}
|
||||
|
||||
private void tbSD_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
var tb = sender as ToolStripTextBox;
|
||||
if(e.KeyCode == Keys.Enter)
|
||||
{
|
||||
string datestring ;
|
||||
if(FCOMMON.Util.MakeDateString(tb.Text,out datestring))
|
||||
{
|
||||
tb.Text = datestring;
|
||||
SendKeys.Send("{TAB}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void sendToMailToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
if (drv == null) return;
|
||||
var dr = drv.Row as dsMSSQL.HolydayRow;
|
||||
|
||||
//string to = dr.tolist;
|
||||
//string body = "<html><body>test 2<strong>sfd</strong>nice to meet</body></html>";
|
||||
//string bcc = string.Empty;
|
||||
//string cc = string.Empty;
|
||||
//string subject = "etst mail";
|
||||
|
||||
Outlook.Application outlookApplication = new Outlook.Application();
|
||||
Outlook.MailItem newTask = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem;
|
||||
newTask.Subject="mail test";
|
||||
newTask.To = "Chikyun.Kim@amkor.co.kr";
|
||||
newTask.HTMLBody = "<i><b>this is test mail</b></i>";
|
||||
newTask.BodyFormat = OlBodyFormat.olFormatHTML;
|
||||
newTask.Display();
|
||||
|
||||
//FCOMMON.Util.RunDefaultMail(to, subject, body, cc, bcc);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,222 +1,222 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>259, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>122, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
|
||||
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
|
||||
rkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="boardBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="termDr.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dvc_result.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="contents.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>493, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>387, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>325, 17</value>
|
||||
</metadata>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="bn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>259, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>122, 17</value>
|
||||
</metadata>
|
||||
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="bindingNavigatorDeleteItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAW9JREFUOE+1kE0ow2Ecx3dV3krt4oJaOSCTvIRkMqSxyITIzCQHDouEdnFwIOVC
|
||||
DrhIDiQl5UTiNG/z2ppafy1S2gX/uDwfY6i1v7Hie3nqeb7fz+/7/FR/Ilwn0G0Exw4fV5GJlXlEZxXC
|
||||
rIet9bAQvB5Ymgn2sLYAvSZEux7RUQFzE4qQt4bCXAYjPaHvnDoCkLpsRGMB2JqCTGLIijDlwqQ9bEMV
|
||||
i9OIytR3EMNWcJ/BWH8A6j8/bOGFxwXNxYEvGbMQ9XnQ1/K78KfY3/VXzkMY0qFGG2H4RoLGQshJQNbG
|
||||
86CNhdrsX9a/uQZTPhQl4rMY4OLofbl3aX7I8uwPC7y/g1YdjyVJuEvT8e1tfwUYteHUxCCfHChDeHmG
|
||||
QQvokjlOU+PbWA0x3pZnILVVI3uvQyHsbiLnqnGmRCF1NYD8pDhpRxOH7HQoAKZGkFKjceszQbpSrumX
|
||||
bO+G80MFwKUTxgfgcO/b8D9IpXoFiiMDHIQm0skAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveFirstItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASpJREFUOE9jGDygcNbz/00Lnv/PnPj4P1QIA4S3P8Apx5A789n/VUfe/8elKL77
|
||||
wf/ghmu4DciY8vT/wn0fsCqK73n4f+n+///9qy/gNiCh58n/aVveYyiKaL8P1pw56/9/r9ITuA2I7Hr0
|
||||
v3f1BxRFoa33wJpb1wFt7/z73yX/AG4DApsf/q+b/w6uKLjl7v9Fe///7wBqzpjz879d3c//9hnbcRvg
|
||||
UXX/f/60NyiK7Ipv/0+f8/u/f9e3/zqF7/5bJKzHbYB96d3/2ZNfYyjSTzn/36ToxX+VrE//jSOX4TbA
|
||||
Iu/O/9T+11gVGSSd+C+b9vW/bvA83AYYZt3+H9byEqci/dTL/zV8p+E2QCftxn+/6od4Fal4TMBtgFPu
|
||||
lf8gBXgVDULAwAAA8HbAq6XlmnAAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMovePreviousItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAALZJREFUOE9jGDogvP3BfyiTdBDf/eB/cMM18gyI73n4f+n+///9qy+QbkBE+32w
|
||||
5sxZ//97lZ4gzYDQ1ntgza3rgLZ3/v3vkn+AeAOCW+7+X7T3//8OoOaMOT//29X9/G+fsZ00F9gV3/6f
|
||||
Puf3f/+ub/91Ct/9t0hYT3oY6Kec/29S9OK/Stan/8aRy0g3AAQMkk78l037+l83eB55BoCAfurl/xq+
|
||||
08g3AARUPCZQZsBgBQwMANAUYJgEulBVAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveNextItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAKNJREFUOE9jGHygcNbz/1AmeSB35rP/Cd33yDckY8rT//P2//6f0HWHPEMSep78
|
||||
n73v1//OrX//u5VeJt2QyK5H/6ds+/W/ZOnf/wnT//63yT1LmiGBzQ//t659D9ZsXPLlv3T0tf/GkcuI
|
||||
N8Sj6v7/krnv4JoVXXpIc4F96d3/gS3PyNMMAhZ5d/7bFFwhTzMIGGbdJl8zCOik3SBf81AEDAwAoH5f
|
||||
oAc0QjgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorMoveLastItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAASxJREFUOE9jGFygcNbz/1AmBgDJNS14/j9z4mOcahhyZz77n9B9D6sCkNyqI+//
|
||||
h7c/wG1AxpSn/+ft//0/oesOhiKQ3MJ9H/4HN1zDbUBCz5P/s/f9+t+59e9/t9LLKApBctO2vP/vX30B
|
||||
twGRXY/+T9n263/J0r//E6b//W+TexauGCTXu/rDf6/SE7gNCGx++L917XuwZuOSL/+lo6/9N45cBtYA
|
||||
kqub/+6/S/4B3AZ4VN3/XzL3HVyzoksPXDFILn/am//2GdtxG2Bfevd/YMszDM0gAJLLnvz6v0XCetwG
|
||||
WOTd+W9TcAVDMwiA5FL7X8O9hBUYZt3GqhkEQHJhLS//6wbPw22ATtoNnJIgOb/qh/81fKfhNgAfcMq9
|
||||
8l/FYwIYQ4UGBWBgAAC+0b+zuQxOnAAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="bindingNavigatorAddNewItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAUpJREFUOE9jGLzg7gL2/7fmcf6/Oofr/8UZvP+hwsSD60CNfx41/v/zsOH/yckC
|
||||
pBtwfjov3ICDPSKkG3B8kiBQc93/Pw+q/u9oFydswKWZPP/PTuX7fxKo8Ui/0P993SJAzeX//94r+r++
|
||||
Qeb/qhq5/0srFf/PL1X+P6tIFdPAU0B//nlYD9RUC8SV///cKwHivP9/72b+/3sn+f/f23H//92MAOKQ
|
||||
/5NyNDENONQrDHbu3/ulQI0FQI3ZQI2pQI0J///digZqDPv/70bQ/3/X/f53peliGrCzXeL/lmap/+vA
|
||||
zpX/v6RC8f/fWzFAjeH/p+Zp/J+QpfW/O0P3f3uq/v/mREPCYTIb6E+Qc//dCPjfk6FDWAM6APnz3w1/
|
||||
IPb735qsT7oB3em6YP+CcH2cEekGtCQZ/G+IN/xfE2v8vzLahHQD6AQYGAAkI9iedfyIaQAAAABJRU5E
|
||||
rkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="boardBindingNavigatorSaveItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAAExJREFUOE9joAr49u3bf1IxVCsEgAWC58Dxh/cf4RhZDETHTNiHaQgpBoAwzBCo
|
||||
dtINAGGiDUDGyGpoawAxeNSAQWkAORiqnRLAwAAA9EMMU8Daa3MAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="termDr.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="dvc_result.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="contents.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="cm1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>493, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>387, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tam.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>186, 17</value>
|
||||
</metadata>
|
||||
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>325, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
702
SubProject/FBS0000/Holiday/fHolyday_Add.Designer.cs
generated
702
SubProject/FBS0000/Holiday/fHolyday_Add.Designer.cs
generated
@@ -1,352 +1,352 @@
|
||||
namespace FBS0000
|
||||
{
|
||||
partial class fHolyday_Add
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.Label cateLabel;
|
||||
System.Windows.Forms.Label resutLabel;
|
||||
System.Windows.Forms.Label sdateLabel;
|
||||
System.Windows.Forms.Label edateLabel;
|
||||
System.Windows.Forms.Label contentsLabel;
|
||||
System.Windows.Forms.Label uidLabel;
|
||||
System.Windows.Forms.Label tolistLabel;
|
||||
this.dsMSSQL = new FBS0000.dsMSSQL();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new FBS0000.dsMSSQLTableAdapters.HolydayTableAdapter();
|
||||
this.tam = new FBS0000.dsMSSQLTableAdapters.TableAdapterManager();
|
||||
this.contentsTextBox = new System.Windows.Forms.TextBox();
|
||||
this.tolistTextBox = new System.Windows.Forms.TextBox();
|
||||
this.mailCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.reasonTextBox = new System.Windows.Forms.TextBox();
|
||||
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
|
||||
this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
|
||||
this.cmbCate = new System.Windows.Forms.ComboBox();
|
||||
this.cmbUser = new System.Windows.Forms.ComboBox();
|
||||
this.cmbRlt = new System.Windows.Forms.ComboBox();
|
||||
this.btOK = new System.Windows.Forms.Button();
|
||||
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
|
||||
cateLabel = new System.Windows.Forms.Label();
|
||||
resutLabel = new System.Windows.Forms.Label();
|
||||
sdateLabel = new System.Windows.Forms.Label();
|
||||
edateLabel = new System.Windows.Forms.Label();
|
||||
contentsLabel = new System.Windows.Forms.Label();
|
||||
uidLabel = new System.Windows.Forms.Label();
|
||||
tolistLabel = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// cateLabel
|
||||
//
|
||||
cateLabel.AutoSize = true;
|
||||
cateLabel.Location = new System.Drawing.Point(12, 73);
|
||||
cateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
cateLabel.Name = "cateLabel";
|
||||
cateLabel.Size = new System.Drawing.Size(72, 19);
|
||||
cateLabel.TabIndex = 4;
|
||||
cateLabel.Text = "Category";
|
||||
//
|
||||
// resutLabel
|
||||
//
|
||||
resutLabel.AutoSize = true;
|
||||
resutLabel.Location = new System.Drawing.Point(372, 9);
|
||||
resutLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
resutLabel.Name = "resutLabel";
|
||||
resutLabel.Size = new System.Drawing.Size(54, 19);
|
||||
resutLabel.TabIndex = 6;
|
||||
resutLabel.Text = "Resut:";
|
||||
//
|
||||
// sdateLabel
|
||||
//
|
||||
sdateLabel.AutoSize = true;
|
||||
sdateLabel.Location = new System.Drawing.Point(42, 107);
|
||||
sdateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
sdateLabel.Name = "sdateLabel";
|
||||
sdateLabel.Size = new System.Drawing.Size(42, 19);
|
||||
sdateLabel.TabIndex = 8;
|
||||
sdateLabel.Text = "Start";
|
||||
//
|
||||
// edateLabel
|
||||
//
|
||||
edateLabel.AutoSize = true;
|
||||
edateLabel.Location = new System.Drawing.Point(48, 140);
|
||||
edateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
edateLabel.Name = "edateLabel";
|
||||
edateLabel.Size = new System.Drawing.Size(36, 19);
|
||||
edateLabel.TabIndex = 10;
|
||||
edateLabel.Text = "End";
|
||||
//
|
||||
// contentsLabel
|
||||
//
|
||||
contentsLabel.AutoSize = true;
|
||||
contentsLabel.Location = new System.Drawing.Point(21, 173);
|
||||
contentsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
contentsLabel.Name = "contentsLabel";
|
||||
contentsLabel.Size = new System.Drawing.Size(63, 19);
|
||||
contentsLabel.TabIndex = 16;
|
||||
contentsLabel.Text = "Remark";
|
||||
//
|
||||
// uidLabel
|
||||
//
|
||||
uidLabel.AutoSize = true;
|
||||
uidLabel.Location = new System.Drawing.Point(43, 41);
|
||||
uidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
uidLabel.Name = "uidLabel";
|
||||
uidLabel.Size = new System.Drawing.Size(41, 19);
|
||||
uidLabel.TabIndex = 18;
|
||||
uidLabel.Text = "User";
|
||||
//
|
||||
// tolistLabel
|
||||
//
|
||||
tolistLabel.AutoSize = true;
|
||||
tolistLabel.Location = new System.Drawing.Point(18, 364);
|
||||
tolistLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
tolistLabel.Name = "tolistLabel";
|
||||
tolistLabel.Size = new System.Drawing.Size(66, 19);
|
||||
tolistLabel.TabIndex = 20;
|
||||
tolistLabel.Text = "Mail List";
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "Holyday";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.BoardTableAdapter = null;
|
||||
this.tam.HolydayTableAdapter = this.ta;
|
||||
this.tam.minutesTableAdapter = null;
|
||||
this.tam.UpdateOrder = FBS0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// contentsTextBox
|
||||
//
|
||||
this.contentsTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "contents", true));
|
||||
this.contentsTextBox.Location = new System.Drawing.Point(91, 170);
|
||||
this.contentsTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.contentsTextBox.Multiline = true;
|
||||
this.contentsTextBox.Name = "contentsTextBox";
|
||||
this.contentsTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||
this.contentsTextBox.Size = new System.Drawing.Size(301, 145);
|
||||
this.contentsTextBox.TabIndex = 17;
|
||||
//
|
||||
// tolistTextBox
|
||||
//
|
||||
this.tolistTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tolist", true));
|
||||
this.tolistTextBox.Location = new System.Drawing.Point(91, 360);
|
||||
this.tolistTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.tolistTextBox.Name = "tolistTextBox";
|
||||
this.tolistTextBox.Size = new System.Drawing.Size(301, 27);
|
||||
this.tolistTextBox.TabIndex = 21;
|
||||
//
|
||||
// mailCheckBox
|
||||
//
|
||||
this.mailCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "mail", true));
|
||||
this.mailCheckBox.Location = new System.Drawing.Point(91, 324);
|
||||
this.mailCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.mailCheckBox.Name = "mailCheckBox";
|
||||
this.mailCheckBox.Size = new System.Drawing.Size(257, 38);
|
||||
this.mailCheckBox.TabIndex = 23;
|
||||
this.mailCheckBox.Text = "Send Mail";
|
||||
this.mailCheckBox.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// reasonTextBox
|
||||
//
|
||||
this.reasonTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reason", true));
|
||||
this.reasonTextBox.Location = new System.Drawing.Point(408, 121);
|
||||
this.reasonTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.reasonTextBox.Multiline = true;
|
||||
this.reasonTextBox.Name = "reasonTextBox";
|
||||
this.reasonTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||
this.reasonTextBox.Size = new System.Drawing.Size(279, 266);
|
||||
this.reasonTextBox.TabIndex = 27;
|
||||
//
|
||||
// dateTimePicker1
|
||||
//
|
||||
this.dateTimePicker1.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "sdate", true));
|
||||
this.dateTimePicker1.Location = new System.Drawing.Point(91, 102);
|
||||
this.dateTimePicker1.Name = "dateTimePicker1";
|
||||
this.dateTimePicker1.Size = new System.Drawing.Size(301, 27);
|
||||
this.dateTimePicker1.TabIndex = 28;
|
||||
this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged);
|
||||
//
|
||||
// dateTimePicker2
|
||||
//
|
||||
this.dateTimePicker2.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "edate", true));
|
||||
this.dateTimePicker2.Location = new System.Drawing.Point(91, 135);
|
||||
this.dateTimePicker2.Name = "dateTimePicker2";
|
||||
this.dateTimePicker2.Size = new System.Drawing.Size(301, 27);
|
||||
this.dateTimePicker2.TabIndex = 29;
|
||||
this.dateTimePicker2.ValueChanged += new System.EventHandler(this.dateTimePicker2_ValueChanged);
|
||||
//
|
||||
// cmbCate
|
||||
//
|
||||
this.cmbCate.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "cate", true));
|
||||
this.cmbCate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbCate.FormattingEnabled = true;
|
||||
this.cmbCate.Location = new System.Drawing.Point(91, 69);
|
||||
this.cmbCate.Name = "cmbCate";
|
||||
this.cmbCate.Size = new System.Drawing.Size(301, 27);
|
||||
this.cmbCate.TabIndex = 32;
|
||||
//
|
||||
// cmbUser
|
||||
//
|
||||
this.cmbUser.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "uid", true));
|
||||
this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbUser.FormattingEnabled = true;
|
||||
this.cmbUser.Location = new System.Drawing.Point(91, 37);
|
||||
this.cmbUser.Name = "cmbUser";
|
||||
this.cmbUser.Size = new System.Drawing.Size(301, 27);
|
||||
this.cmbUser.TabIndex = 33;
|
||||
//
|
||||
// cmbRlt
|
||||
//
|
||||
this.cmbRlt.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "result", true));
|
||||
this.cmbRlt.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbRlt.FormattingEnabled = true;
|
||||
this.cmbRlt.Location = new System.Drawing.Point(409, 89);
|
||||
this.cmbRlt.Name = "cmbRlt";
|
||||
this.cmbRlt.Size = new System.Drawing.Size(278, 27);
|
||||
this.cmbRlt.TabIndex = 34;
|
||||
//
|
||||
// btOK
|
||||
//
|
||||
this.btOK.Location = new System.Drawing.Point(91, 399);
|
||||
this.btOK.Name = "btOK";
|
||||
this.btOK.Size = new System.Drawing.Size(596, 38);
|
||||
this.btOK.TabIndex = 35;
|
||||
this.btOK.Text = "OK";
|
||||
this.btOK.UseVisualStyleBackColor = true;
|
||||
this.btOK.Click += new System.EventHandler(this.btOK_Click);
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
this.numericUpDown1.BackColor = System.Drawing.Color.HotPink;
|
||||
this.numericUpDown1.DecimalPlaces = 1;
|
||||
this.numericUpDown1.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(409, 37);
|
||||
this.numericUpDown1.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown1.Name = "numericUpDown1";
|
||||
this.numericUpDown1.Size = new System.Drawing.Size(94, 46);
|
||||
this.numericUpDown1.TabIndex = 36;
|
||||
this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// numericUpDown2
|
||||
//
|
||||
this.numericUpDown2.BackColor = System.Drawing.Color.Lime;
|
||||
this.numericUpDown2.DecimalPlaces = 1;
|
||||
this.numericUpDown2.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.numericUpDown2.Location = new System.Drawing.Point(509, 37);
|
||||
this.numericUpDown2.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown2.Name = "numericUpDown2";
|
||||
this.numericUpDown2.Size = new System.Drawing.Size(94, 46);
|
||||
this.numericUpDown2.TabIndex = 37;
|
||||
this.numericUpDown2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// fHolyday_Add
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(704, 449);
|
||||
this.Controls.Add(this.numericUpDown2);
|
||||
this.Controls.Add(this.numericUpDown1);
|
||||
this.Controls.Add(this.btOK);
|
||||
this.Controls.Add(this.cmbRlt);
|
||||
this.Controls.Add(this.cmbUser);
|
||||
this.Controls.Add(this.cmbCate);
|
||||
this.Controls.Add(this.dateTimePicker2);
|
||||
this.Controls.Add(this.dateTimePicker1);
|
||||
this.Controls.Add(cateLabel);
|
||||
this.Controls.Add(resutLabel);
|
||||
this.Controls.Add(sdateLabel);
|
||||
this.Controls.Add(edateLabel);
|
||||
this.Controls.Add(contentsLabel);
|
||||
this.Controls.Add(this.contentsTextBox);
|
||||
this.Controls.Add(uidLabel);
|
||||
this.Controls.Add(tolistLabel);
|
||||
this.Controls.Add(this.tolistTextBox);
|
||||
this.Controls.Add(this.mailCheckBox);
|
||||
this.Controls.Add(this.reasonTextBox);
|
||||
this.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "fHolyday_Add";
|
||||
this.Text = "fHolyday_Add";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private dsMSSQL dsMSSQL;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private dsMSSQLTableAdapters.HolydayTableAdapter ta;
|
||||
private dsMSSQLTableAdapters.TableAdapterManager tam;
|
||||
private System.Windows.Forms.TextBox contentsTextBox;
|
||||
private System.Windows.Forms.TextBox tolistTextBox;
|
||||
private System.Windows.Forms.CheckBox mailCheckBox;
|
||||
private System.Windows.Forms.TextBox reasonTextBox;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker1;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker2;
|
||||
private System.Windows.Forms.ComboBox cmbCate;
|
||||
private System.Windows.Forms.ComboBox cmbUser;
|
||||
private System.Windows.Forms.ComboBox cmbRlt;
|
||||
private System.Windows.Forms.Button btOK;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown2;
|
||||
}
|
||||
namespace FBS0000
|
||||
{
|
||||
partial class fHolyday_Add
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.Label cateLabel;
|
||||
System.Windows.Forms.Label resutLabel;
|
||||
System.Windows.Forms.Label sdateLabel;
|
||||
System.Windows.Forms.Label edateLabel;
|
||||
System.Windows.Forms.Label contentsLabel;
|
||||
System.Windows.Forms.Label uidLabel;
|
||||
System.Windows.Forms.Label tolistLabel;
|
||||
this.dsMSSQL = new FBS0000.dsMSSQL();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new FBS0000.dsMSSQLTableAdapters.HolydayTableAdapter();
|
||||
this.tam = new FBS0000.dsMSSQLTableAdapters.TableAdapterManager();
|
||||
this.contentsTextBox = new System.Windows.Forms.TextBox();
|
||||
this.tolistTextBox = new System.Windows.Forms.TextBox();
|
||||
this.mailCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.reasonTextBox = new System.Windows.Forms.TextBox();
|
||||
this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
|
||||
this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
|
||||
this.cmbCate = new System.Windows.Forms.ComboBox();
|
||||
this.cmbUser = new System.Windows.Forms.ComboBox();
|
||||
this.cmbRlt = new System.Windows.Forms.ComboBox();
|
||||
this.btOK = new System.Windows.Forms.Button();
|
||||
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
|
||||
cateLabel = new System.Windows.Forms.Label();
|
||||
resutLabel = new System.Windows.Forms.Label();
|
||||
sdateLabel = new System.Windows.Forms.Label();
|
||||
edateLabel = new System.Windows.Forms.Label();
|
||||
contentsLabel = new System.Windows.Forms.Label();
|
||||
uidLabel = new System.Windows.Forms.Label();
|
||||
tolistLabel = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// cateLabel
|
||||
//
|
||||
cateLabel.AutoSize = true;
|
||||
cateLabel.Location = new System.Drawing.Point(12, 73);
|
||||
cateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
cateLabel.Name = "cateLabel";
|
||||
cateLabel.Size = new System.Drawing.Size(72, 19);
|
||||
cateLabel.TabIndex = 4;
|
||||
cateLabel.Text = "Category";
|
||||
//
|
||||
// resutLabel
|
||||
//
|
||||
resutLabel.AutoSize = true;
|
||||
resutLabel.Location = new System.Drawing.Point(372, 9);
|
||||
resutLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
resutLabel.Name = "resutLabel";
|
||||
resutLabel.Size = new System.Drawing.Size(54, 19);
|
||||
resutLabel.TabIndex = 6;
|
||||
resutLabel.Text = "Resut:";
|
||||
//
|
||||
// sdateLabel
|
||||
//
|
||||
sdateLabel.AutoSize = true;
|
||||
sdateLabel.Location = new System.Drawing.Point(42, 107);
|
||||
sdateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
sdateLabel.Name = "sdateLabel";
|
||||
sdateLabel.Size = new System.Drawing.Size(42, 19);
|
||||
sdateLabel.TabIndex = 8;
|
||||
sdateLabel.Text = "Start";
|
||||
//
|
||||
// edateLabel
|
||||
//
|
||||
edateLabel.AutoSize = true;
|
||||
edateLabel.Location = new System.Drawing.Point(48, 140);
|
||||
edateLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
edateLabel.Name = "edateLabel";
|
||||
edateLabel.Size = new System.Drawing.Size(36, 19);
|
||||
edateLabel.TabIndex = 10;
|
||||
edateLabel.Text = "End";
|
||||
//
|
||||
// contentsLabel
|
||||
//
|
||||
contentsLabel.AutoSize = true;
|
||||
contentsLabel.Location = new System.Drawing.Point(21, 173);
|
||||
contentsLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
contentsLabel.Name = "contentsLabel";
|
||||
contentsLabel.Size = new System.Drawing.Size(63, 19);
|
||||
contentsLabel.TabIndex = 16;
|
||||
contentsLabel.Text = "Remark";
|
||||
//
|
||||
// uidLabel
|
||||
//
|
||||
uidLabel.AutoSize = true;
|
||||
uidLabel.Location = new System.Drawing.Point(43, 41);
|
||||
uidLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
uidLabel.Name = "uidLabel";
|
||||
uidLabel.Size = new System.Drawing.Size(41, 19);
|
||||
uidLabel.TabIndex = 18;
|
||||
uidLabel.Text = "User";
|
||||
//
|
||||
// tolistLabel
|
||||
//
|
||||
tolistLabel.AutoSize = true;
|
||||
tolistLabel.Location = new System.Drawing.Point(18, 364);
|
||||
tolistLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
tolistLabel.Name = "tolistLabel";
|
||||
tolistLabel.Size = new System.Drawing.Size(66, 19);
|
||||
tolistLabel.TabIndex = 20;
|
||||
tolistLabel.Text = "Mail List";
|
||||
//
|
||||
// dsMSSQL
|
||||
//
|
||||
this.dsMSSQL.DataSetName = "dsMSSQL";
|
||||
this.dsMSSQL.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
||||
//
|
||||
// bs
|
||||
//
|
||||
this.bs.DataMember = "Holyday";
|
||||
this.bs.DataSource = this.dsMSSQL;
|
||||
//
|
||||
// ta
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// tam
|
||||
//
|
||||
this.tam.BackupDataSetBeforeUpdate = false;
|
||||
this.tam.BoardTableAdapter = null;
|
||||
this.tam.HolydayTableAdapter = this.ta;
|
||||
this.tam.minutesTableAdapter = null;
|
||||
this.tam.UpdateOrder = FBS0000.dsMSSQLTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// contentsTextBox
|
||||
//
|
||||
this.contentsTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "contents", true));
|
||||
this.contentsTextBox.Location = new System.Drawing.Point(91, 170);
|
||||
this.contentsTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.contentsTextBox.Multiline = true;
|
||||
this.contentsTextBox.Name = "contentsTextBox";
|
||||
this.contentsTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||
this.contentsTextBox.Size = new System.Drawing.Size(301, 145);
|
||||
this.contentsTextBox.TabIndex = 17;
|
||||
//
|
||||
// tolistTextBox
|
||||
//
|
||||
this.tolistTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "tolist", true));
|
||||
this.tolistTextBox.Location = new System.Drawing.Point(91, 360);
|
||||
this.tolistTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.tolistTextBox.Name = "tolistTextBox";
|
||||
this.tolistTextBox.Size = new System.Drawing.Size(301, 27);
|
||||
this.tolistTextBox.TabIndex = 21;
|
||||
//
|
||||
// mailCheckBox
|
||||
//
|
||||
this.mailCheckBox.DataBindings.Add(new System.Windows.Forms.Binding("CheckState", this.bs, "mail", true));
|
||||
this.mailCheckBox.Location = new System.Drawing.Point(91, 324);
|
||||
this.mailCheckBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.mailCheckBox.Name = "mailCheckBox";
|
||||
this.mailCheckBox.Size = new System.Drawing.Size(257, 38);
|
||||
this.mailCheckBox.TabIndex = 23;
|
||||
this.mailCheckBox.Text = "Send Mail";
|
||||
this.mailCheckBox.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// reasonTextBox
|
||||
//
|
||||
this.reasonTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "reason", true));
|
||||
this.reasonTextBox.Location = new System.Drawing.Point(408, 121);
|
||||
this.reasonTextBox.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.reasonTextBox.Multiline = true;
|
||||
this.reasonTextBox.Name = "reasonTextBox";
|
||||
this.reasonTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||||
this.reasonTextBox.Size = new System.Drawing.Size(279, 266);
|
||||
this.reasonTextBox.TabIndex = 27;
|
||||
//
|
||||
// dateTimePicker1
|
||||
//
|
||||
this.dateTimePicker1.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "sdate", true));
|
||||
this.dateTimePicker1.Location = new System.Drawing.Point(91, 102);
|
||||
this.dateTimePicker1.Name = "dateTimePicker1";
|
||||
this.dateTimePicker1.Size = new System.Drawing.Size(301, 27);
|
||||
this.dateTimePicker1.TabIndex = 28;
|
||||
this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged);
|
||||
//
|
||||
// dateTimePicker2
|
||||
//
|
||||
this.dateTimePicker2.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.bs, "edate", true));
|
||||
this.dateTimePicker2.Location = new System.Drawing.Point(91, 135);
|
||||
this.dateTimePicker2.Name = "dateTimePicker2";
|
||||
this.dateTimePicker2.Size = new System.Drawing.Size(301, 27);
|
||||
this.dateTimePicker2.TabIndex = 29;
|
||||
this.dateTimePicker2.ValueChanged += new System.EventHandler(this.dateTimePicker2_ValueChanged);
|
||||
//
|
||||
// cmbCate
|
||||
//
|
||||
this.cmbCate.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "cate", true));
|
||||
this.cmbCate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbCate.FormattingEnabled = true;
|
||||
this.cmbCate.Location = new System.Drawing.Point(91, 69);
|
||||
this.cmbCate.Name = "cmbCate";
|
||||
this.cmbCate.Size = new System.Drawing.Size(301, 27);
|
||||
this.cmbCate.TabIndex = 32;
|
||||
//
|
||||
// cmbUser
|
||||
//
|
||||
this.cmbUser.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "uid", true));
|
||||
this.cmbUser.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbUser.FormattingEnabled = true;
|
||||
this.cmbUser.Location = new System.Drawing.Point(91, 37);
|
||||
this.cmbUser.Name = "cmbUser";
|
||||
this.cmbUser.Size = new System.Drawing.Size(301, 27);
|
||||
this.cmbUser.TabIndex = 33;
|
||||
//
|
||||
// cmbRlt
|
||||
//
|
||||
this.cmbRlt.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.bs, "result", true));
|
||||
this.cmbRlt.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbRlt.FormattingEnabled = true;
|
||||
this.cmbRlt.Location = new System.Drawing.Point(409, 89);
|
||||
this.cmbRlt.Name = "cmbRlt";
|
||||
this.cmbRlt.Size = new System.Drawing.Size(278, 27);
|
||||
this.cmbRlt.TabIndex = 34;
|
||||
//
|
||||
// btOK
|
||||
//
|
||||
this.btOK.Location = new System.Drawing.Point(91, 399);
|
||||
this.btOK.Name = "btOK";
|
||||
this.btOK.Size = new System.Drawing.Size(596, 38);
|
||||
this.btOK.TabIndex = 35;
|
||||
this.btOK.Text = "OK";
|
||||
this.btOK.UseVisualStyleBackColor = true;
|
||||
this.btOK.Click += new System.EventHandler(this.btOK_Click);
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
this.numericUpDown1.BackColor = System.Drawing.Color.HotPink;
|
||||
this.numericUpDown1.DecimalPlaces = 1;
|
||||
this.numericUpDown1.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(409, 37);
|
||||
this.numericUpDown1.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown1.Name = "numericUpDown1";
|
||||
this.numericUpDown1.Size = new System.Drawing.Size(94, 46);
|
||||
this.numericUpDown1.TabIndex = 36;
|
||||
this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// numericUpDown2
|
||||
//
|
||||
this.numericUpDown2.BackColor = System.Drawing.Color.Lime;
|
||||
this.numericUpDown2.DecimalPlaces = 1;
|
||||
this.numericUpDown2.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.numericUpDown2.Location = new System.Drawing.Point(509, 37);
|
||||
this.numericUpDown2.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown2.Name = "numericUpDown2";
|
||||
this.numericUpDown2.Size = new System.Drawing.Size(94, 46);
|
||||
this.numericUpDown2.TabIndex = 37;
|
||||
this.numericUpDown2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// fHolyday_Add
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(704, 449);
|
||||
this.Controls.Add(this.numericUpDown2);
|
||||
this.Controls.Add(this.numericUpDown1);
|
||||
this.Controls.Add(this.btOK);
|
||||
this.Controls.Add(this.cmbRlt);
|
||||
this.Controls.Add(this.cmbUser);
|
||||
this.Controls.Add(this.cmbCate);
|
||||
this.Controls.Add(this.dateTimePicker2);
|
||||
this.Controls.Add(this.dateTimePicker1);
|
||||
this.Controls.Add(cateLabel);
|
||||
this.Controls.Add(resutLabel);
|
||||
this.Controls.Add(sdateLabel);
|
||||
this.Controls.Add(edateLabel);
|
||||
this.Controls.Add(contentsLabel);
|
||||
this.Controls.Add(this.contentsTextBox);
|
||||
this.Controls.Add(uidLabel);
|
||||
this.Controls.Add(tolistLabel);
|
||||
this.Controls.Add(this.tolistTextBox);
|
||||
this.Controls.Add(this.mailCheckBox);
|
||||
this.Controls.Add(this.reasonTextBox);
|
||||
this.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "fHolyday_Add";
|
||||
this.Text = "fHolyday_Add";
|
||||
this.Load += new System.EventHandler(this.@__Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsMSSQL)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private dsMSSQL dsMSSQL;
|
||||
private System.Windows.Forms.BindingSource bs;
|
||||
private dsMSSQLTableAdapters.HolydayTableAdapter ta;
|
||||
private dsMSSQLTableAdapters.TableAdapterManager tam;
|
||||
private System.Windows.Forms.TextBox contentsTextBox;
|
||||
private System.Windows.Forms.TextBox tolistTextBox;
|
||||
private System.Windows.Forms.CheckBox mailCheckBox;
|
||||
private System.Windows.Forms.TextBox reasonTextBox;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker1;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker2;
|
||||
private System.Windows.Forms.ComboBox cmbCate;
|
||||
private System.Windows.Forms.ComboBox cmbUser;
|
||||
private System.Windows.Forms.ComboBox cmbRlt;
|
||||
private System.Windows.Forms.Button btOK;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown2;
|
||||
}
|
||||
}
|
||||
@@ -1,76 +1,76 @@
|
||||
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 FBS0000
|
||||
{
|
||||
public partial class fHolyday_Add : FCOMMON.fBase
|
||||
{
|
||||
Boolean bInit = false;
|
||||
dsMSSQL.HolydayRow dr;
|
||||
public fHolyday_Add(dsMSSQL.HolydayRow dr_)
|
||||
{
|
||||
InitializeComponent();
|
||||
dr = dr_;
|
||||
this.cmbCate.DataSource = FCOMMON.DBM.getCodeTable("02"); ;
|
||||
this.cmbCate.DisplayMember = "KeyValue";
|
||||
this.cmbCate.ValueMember = "Key";
|
||||
|
||||
this.cmbRlt.DataSource = FCOMMON.DBM.getCodeTable("03"); ;
|
||||
this.cmbRlt.DisplayMember = "KeyValue";
|
||||
this.cmbRlt.ValueMember = "Key";
|
||||
|
||||
this.cmbUser.DataSource = FCOMMON.DBM.getUserTable(); ;
|
||||
this.cmbUser.DisplayMember = "KeyValue";
|
||||
this.cmbUser.ValueMember = "Key";
|
||||
|
||||
this.bs.DataSource = dr;
|
||||
}
|
||||
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
bInit = true;
|
||||
}
|
||||
|
||||
private void btOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Invalidate();
|
||||
this.bs.EndEdit();
|
||||
if(dr.cate.CompareTo("20") >= 0)
|
||||
{
|
||||
dr.term *= -1;
|
||||
dr.EndEdit();
|
||||
}
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!bInit) return;
|
||||
if(dateTimePicker1.Value > this.dateTimePicker2.Value)
|
||||
this.dateTimePicker2.Value = dateTimePicker1.Value;
|
||||
RefreshTerm();
|
||||
|
||||
|
||||
}
|
||||
|
||||
void RefreshTerm()
|
||||
{
|
||||
var ts = dateTimePicker2.Value - dateTimePicker1.Value;
|
||||
var days = Math.Ceiling(ts.TotalDays) + 1;
|
||||
this.numericUpDown1.Value = (decimal)days;
|
||||
this.dr.term = days;
|
||||
}
|
||||
private void dateTimePicker2_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!bInit) return;
|
||||
RefreshTerm();
|
||||
}
|
||||
}
|
||||
}
|
||||
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 FBS0000
|
||||
{
|
||||
public partial class fHolyday_Add : FCOMMON.fBase
|
||||
{
|
||||
Boolean bInit = false;
|
||||
dsMSSQL.HolydayRow dr;
|
||||
public fHolyday_Add(dsMSSQL.HolydayRow dr_)
|
||||
{
|
||||
InitializeComponent();
|
||||
dr = dr_;
|
||||
this.cmbCate.DataSource = FCOMMON.DBM.getCodeTable("02"); ;
|
||||
this.cmbCate.DisplayMember = "KeyValue";
|
||||
this.cmbCate.ValueMember = "Key";
|
||||
|
||||
this.cmbRlt.DataSource = FCOMMON.DBM.getCodeTable("03"); ;
|
||||
this.cmbRlt.DisplayMember = "KeyValue";
|
||||
this.cmbRlt.ValueMember = "Key";
|
||||
|
||||
this.cmbUser.DataSource = FCOMMON.DBM.getUserTable(); ;
|
||||
this.cmbUser.DisplayMember = "KeyValue";
|
||||
this.cmbUser.ValueMember = "Key";
|
||||
|
||||
this.bs.DataSource = dr;
|
||||
}
|
||||
|
||||
|
||||
private void __Load(object sender, EventArgs e)
|
||||
{
|
||||
bInit = true;
|
||||
}
|
||||
|
||||
private void btOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Invalidate();
|
||||
this.bs.EndEdit();
|
||||
if(dr.cate.CompareTo("20") >= 0)
|
||||
{
|
||||
dr.term *= -1;
|
||||
dr.EndEdit();
|
||||
}
|
||||
DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
}
|
||||
|
||||
private void dateTimePicker1_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!bInit) return;
|
||||
if(dateTimePicker1.Value > this.dateTimePicker2.Value)
|
||||
this.dateTimePicker2.Value = dateTimePicker1.Value;
|
||||
RefreshTerm();
|
||||
|
||||
|
||||
}
|
||||
|
||||
void RefreshTerm()
|
||||
{
|
||||
var ts = dateTimePicker2.Value - dateTimePicker1.Value;
|
||||
var days = Math.Ceiling(ts.TotalDays) + 1;
|
||||
this.numericUpDown1.Value = (decimal)days;
|
||||
this.dr.term = days;
|
||||
}
|
||||
private void dateTimePicker2_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!bInit) return;
|
||||
RefreshTerm();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user