コード例 #1
0
ファイル: ChooseUser.cs プロジェクト: jisiwang12/meeting_test
        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            String name = dataGridView1.CurrentRow.Cells[0].Value.ToString();

            if (who == 1)
            {
                Add_Meeting.getAddMeeting().textBox2.Text = name;
            }

            if (who == 2)
            {
                Add_Meeting.getAddMeeting().textBox3.Text = name;
            }

            if (who == 3)
            {
                formInfoSub.textBox2.Text = name;
            }

            if (who == 4)
            {
                formInfoSub.textBox3.Text = name;
            }
            this.Close();
        }
コード例 #2
0
        /**
         * 新建会议
         */
        private void 新建会议ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Add_Meeting add_Meeting = Add_Meeting.getAddMeeting();

            add_Meeting.ShowDialog();
        }