전자실메일양식 통일 및 정리 작업
This commit is contained in:
@@ -2036,7 +2036,7 @@
|
||||
this.btSearch.Padding = new System.Windows.Forms.Padding(5, 0, 3, 0);
|
||||
this.btSearch.Size = new System.Drawing.Size(122, 69);
|
||||
this.btSearch.TabIndex = 9;
|
||||
this.btSearch.Text = "새로고침(&R)";
|
||||
this.btSearch.Text = "새로고침(F5)";
|
||||
this.btSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
this.btSearch.UseVisualStyleBackColor = true;
|
||||
this.btSearch.Click += new System.EventHandler(this.button2_Click);
|
||||
|
||||
@@ -19,8 +19,17 @@ namespace FPJ0000
|
||||
fn_fpcolsize = util.MakeFilePath(util.CurrentPath, "formSetting", "fp_" + this.Name + ".ini");
|
||||
this.dsMSSQL.Projects.TableNewRow += Projects_TableNewRow;
|
||||
this.FormClosed += __Closed;
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) => {
|
||||
if(e1.KeyCode == Keys.F5)
|
||||
{
|
||||
btSearch.PerformClick();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
void __Closed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
timer1.Stop();
|
||||
|
||||
@@ -223,7 +223,6 @@ namespace FPJ0000
|
||||
var idinfo = uidinfo.Split('|');
|
||||
var uid = idinfo[0];
|
||||
|
||||
|
||||
if (dtActUser.Select($"id='{uid}'").Any() == false) continue;
|
||||
|
||||
var newdr = this.dSProjectSummary.ProjectCountForUser.NewProjectCountForUserRow();
|
||||
@@ -243,21 +242,27 @@ namespace FPJ0000
|
||||
//진행중인자료의 플랜을 확인한다.
|
||||
var listing = list.Where(t => t.status == "진행").ToList();
|
||||
|
||||
newdr.CntNone = listing.Where(t => string.IsNullOrEmpty(t.ddate)).Count();
|
||||
newdr.Plan01 = listing.Where(t => t.ddate.StartsWith($"{cmbYearS}-01")).Count();
|
||||
newdr.Plan02 = listing.Where(t => t.ddate.StartsWith($"{cmbYearS}-02")).Count();
|
||||
newdr.Plan03 = listing.Where(t => t.ddate.StartsWith($"{cmbYearS}-03")).Count();
|
||||
newdr.Plan04 = listing.Where(t => t.ddate.StartsWith($"{cmbYearS}-04")).Count();
|
||||
newdr.Plan05 = listing.Where(t => t.ddate.StartsWith($"{cmbYearS}-05")).Count();
|
||||
newdr.Plan06 = listing.Where(t => t.ddate.StartsWith($"{cmbYearS}-06")).Count();
|
||||
newdr.Plan07 = listing.Where(t => t.ddate.StartsWith($"{cmbYearS}-07")).Count();
|
||||
newdr.Plan08 = listing.Where(t => t.ddate.StartsWith($"{cmbYearS}-08")).Count();
|
||||
newdr.Plan09 = listing.Where(t => t.ddate.StartsWith($"{cmbYearS}-09")).Count();
|
||||
newdr.Plan10 = listing.Where(t => t.ddate.StartsWith($"{cmbYearS}-10")).Count();
|
||||
newdr.Plan11 = listing.Where(t => t.ddate.StartsWith($"{cmbYearS}-11")).Count();
|
||||
newdr.Plan12 = listing.Where(t => t.ddate.StartsWith($"{cmbYearS}-12")).Count();
|
||||
if(uid == "395552")
|
||||
{
|
||||
|
||||
var nextyear = (int.Parse(cmbYearS.Text) + 1).ToString();
|
||||
}
|
||||
|
||||
var yearstr = cmbYearS.Text;
|
||||
newdr.CntNone = listing.Where(t => string.IsNullOrEmpty(t.ddate)).Count();
|
||||
newdr.Plan01 = listing.Where(t => t.ddate.StartsWith($"{yearstr}-01")).Count();
|
||||
newdr.Plan02 = listing.Where(t => t.ddate.StartsWith($"{yearstr}-02")).Count();
|
||||
newdr.Plan03 = listing.Where(t => t.ddate.StartsWith($"{yearstr}-03")).Count();
|
||||
newdr.Plan04 = listing.Where(t => t.ddate.StartsWith($"{yearstr}-04")).Count();
|
||||
newdr.Plan05 = listing.Where(t => t.ddate.StartsWith($"{yearstr}-05")).Count();
|
||||
newdr.Plan06 = listing.Where(t => t.ddate.StartsWith($"{yearstr}-06")).Count();
|
||||
newdr.Plan07 = listing.Where(t => t.ddate.StartsWith($"{yearstr}-07")).Count();
|
||||
newdr.Plan08 = listing.Where(t => t.ddate.StartsWith($"{yearstr}-08")).Count();
|
||||
newdr.Plan09 = listing.Where(t => t.ddate.StartsWith($"{yearstr}-09")).Count();
|
||||
newdr.Plan10 = listing.Where(t => t.ddate.StartsWith($"{yearstr}-10")).Count();
|
||||
newdr.Plan11 = listing.Where(t => t.ddate.StartsWith($"{yearstr}-11")).Count();
|
||||
newdr.Plan12 = listing.Where(t => t.ddate.StartsWith($"{yearstr}-12")).Count();
|
||||
|
||||
var nextyear = (int.Parse(yearstr) + 1).ToString();
|
||||
newdr.PlanNext = listing.Where(t => t.ddate.StartsWith($"{nextyear}")).Count();
|
||||
newdr.CntOther = listing.Count - newdr.CntNone - newdr.PlanNext - newdr.Plan01 -
|
||||
newdr.Plan02 - newdr.Plan03 - newdr.Plan04 - newdr.Plan05 - newdr.Plan06 -
|
||||
|
||||
Reference in New Issue
Block a user