コード例 #1
0
ファイル: frmMain.xaml.cs プロジェクト: visualhuman01/Tiku
        public static void ShowComment(question_data data)
        {
            frmComment comment = new frmComment(data);

            comment.Owner = _this;
            comment.ShowDialog();
        }
コード例 #2
0
        private void dataGridViewSalesLeads_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            frmComment     newCommnt  = new frmComment();
            CommentHandler newhandler = new CommentHandler(newCommnt, new Comment.Comment());

            newCommnt.SelectedSalesLeadsID = (int)dataGridViewSalesLeads.SelectedRows[0].Cells[0].Value;
            newCommnt.Show();
        }