This commit is contained in:
chi
2022-05-01 21:17:45 +09:00
parent ff32598e85
commit bf40e0ee7b
33 changed files with 4249 additions and 2737 deletions

View File

@@ -67,7 +67,7 @@ namespace FPJ0000
btConf.Visible = curLevel >= 5;
btConfAll.Visible = curLevel >= 5;
//btConfAll.Visible = curLevel >= 5;
this.dv1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
@@ -561,5 +561,23 @@ namespace FPJ0000
}
}
private void toolStripButton8_Click(object sender, EventArgs e)
{
var sdo = DateTime.Parse(dtSD.Text);
var sd = DateTime.Parse(sdo.AddMonths(-1).ToString("yyyy-MM-01"));
var ed = sd.AddMonths(1).AddDays(-1);
dtSD.Text = sd.ToShortDateString();
dtED.Text = ed.ToShortDateString();
}
private void toolStripButton7_Click(object sender, EventArgs e)
{
var sdo = DateTime.Parse(dtSD.Text);
var sd = DateTime.Parse(sdo.AddMonths(1).ToString("yyyy-MM-01"));
var ed = sd.AddMonths(1).AddDays(-1);
dtSD.Text = sd.ToShortDateString();
dtED.Text = ed.ToShortDateString();
}
}
}