示例#1
0
        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);
        }
示例#2
0
 private void toolClear_Click(object sender, EventArgs e)
 {
     //dateTimePicker1.Value = DateTime.Now;
     StateOfControl.SpliClear(splitContainer1);
 }