Пример #1
0
        private void Dgv1_SelectionChanged(object sender, EventArgs e)
        {
            if (notChange)
            {
                return;
            }
            if (Dgv1.CurrentRow == null)
            {
                return;
            }
            Cursor.Current = Cursors.WaitCursor;
            fr.idsm        = (int)Dgv1.CurrentRow.Cells["IdSm"].Value;
            fr.spisok();
            string s = " and forma2.idsm = " + Dgv1.CurrentRow.Cells["IdSm"].Value.ToString();

            frVip.spisok(s);
            Cursor.Current = Cursors.Default;
        }