示例#1
0
        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            DortgenKutu kutu  = (DortgenKutu)dataGridView1.CurrentRow.DataBoundItem;
            double      hacim = kutu.Hacim();
            int         fire  = kutu.Fire();

            MessageBox.Show("Fire + Hacim " + fire + " " + hacim);
        }
示例#2
0
        private void dataGridView1_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            DortgenKutu kutu  = (DortgenKutu)dataGridView1.CurrentRow.DataBoundItem;
            int         Hacim = kutu.Hacim();
            int         Fire  = kutu.Fire();

            MessageBox.Show("Fire + Hacim:" + Fire + " " + Hacim);
        }