示例#1
0
文件: Diary.cs 项目: monil286/MAsst
 //BtnCreate_Click Method
 private void button1_Click(object sender, EventArgs e)
 {
     LblDiary.Visible        = true;
     LstBxDiaryEntry.Visible = false;
     TxtBxDiary.Visible      = true;
     TxtBxDiary.Focus();
     BtnCreate.Visible = false;
     BtnDel.Visible    = false;
     BtnEdit.Visible   = false;
     BtnRead.Visible   = false;
     BtnSave.Visible   = true;
     BtnClear.Visible  = true;
     BtnCancel.Visible = true;
 }
示例#2
0
文件: Diary.cs 项目: monil286/MAsst
 private void BtnClear_Click(object sender, EventArgs e)
 {
     TxtBxDiary.Clear();
     TxtBxDiary.Focus();
 }