예제 #1
0
        private void comment_Click(object sender, EventArgs e)
        {
            string fullName = SQL.getFullName(SQL.getOwnerUserID(memberNameToolStripMenuItem.Text));

            if (currentTasks.SelectedItem != null)
            {
                AddComment frm = new AddComment(userComments, currentTasks, fullName);
                frm.ShowDialog();
            }
            else if (completedTasks.SelectedItem != null)
            {
                AddComment frm = new AddComment(userComments, completedTasks, fullName);
                frm.ShowDialog();
            }
        }
예제 #2
0
        private void comment_Click(object sender, EventArgs e)
        {
            AddComment frm = new AddComment(userComments);

            frm.ShowDialog();
        }