Пример #1
0
 //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
 private void BtnClear_Click(object sender, EventArgs e)
 {
     TxtBxDiary.Clear();
     TxtBxDiary.Focus();
 }