private void toolAdd_Click(object sender, EventArgs e) { toolEdit.Enabled = toolQuery.Enabled = toolAdd.Enabled = false; toolClear.Enabled = toolSave.Enabled = toolCancel.Enabled = true; StateOfControl.SpliEnableTrue(splitContainer1); StateOfControl.SpliClear(splitContainer1); dateTimePicker1.Enabled = false; dateTimePicker1.Value = getDate( ); sign = "1"; button11_Click(null, null); }
private void toolClear_Click(object sender, EventArgs e) { //dateTimePicker1.Value = DateTime.Now; StateOfControl.SpliClear(splitContainer1); }