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();
        }
 public static Add_Meeting getAddMeeting()
 {
     if (_addMeeting == null)
     {
         _addMeeting = new Add_Meeting();
     }
     return(_addMeeting);
 }
Exemple #3
0
        /**
         * 新建会议
         */
        private void 新建会议ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Add_Meeting add_Meeting = Add_Meeting.getAddMeeting();

            add_Meeting.ShowDialog();
        }