private void CommitTask(BaseTask cell, bool isUseDiamond) { cell.Commit(isUseDiamond); this.Show(false); }