//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; }
private void BtnClear_Click(object sender, EventArgs e) { TxtBxDiary.Clear(); TxtBxDiary.Focus(); }