private void savebtn_Click(object sender, EventArgs e) { SaveToHistry(); using (ChangeList change = new ChangeList(true)) { change.ID = ChangeListID; change.SetAddedHistry(); AddedHistry = true; saveHistrybtn.Enabled = false; } MessageView.ShowMsg("Sucessfully Saved"); }