private void Sticky_DoubleClick(object sender, EventArgs e) { Sticky sticky = (Sticky)sender; _presentationModel.SetEditState(sticky.Task); NewTaskForm newTaskForm = new NewTaskForm(_presentationModel); newTaskForm.Show(); //RefreshSticky 必須更新所有sticky }
private void _todoLabel_DoubleClick(object sender, EventArgs e) { _presentationModel.ConcelEditState(); NewTaskForm newTaskForm = new NewTaskForm(_presentationModel); newTaskForm.Show(); //this.Controls.Add(sticky); //RefreshSticky 必須更新所有sticky }