Пример #1
0
        public void BeginStart(string host, DataGridViewRow row)
        {
            lock (listRow)
            {
                if (!listRow.Contains(row))
                {
                    SetRowStyleFont(ref row, new Font(defaultCellStyle, FontStyle.Regular));
                    SetRowStyleForeColor(ref row, Color.Black);

                    listRow.Add(row);

                    BeginStartDelegate de = new BeginStartDelegate(Start);
                    de.BeginInvoke(host, ref row, null, null);
                }
            }
        }
Пример #2
0
        public void BeginStart(string host, DataGridViewRow row)
        {
            lock (listRow)
            {
                if (!listRow.Contains(row))
                {
                    SetRowStyleFont(ref row, new Font(defaultCellStyle, FontStyle.Regular));
                    SetRowStyleForeColor(ref row, Color.Black);

                    listRow.Add(row);

                    BeginStartDelegate de = new BeginStartDelegate(Start);
                    de.BeginInvoke(host, ref row, null, null);
                }
            }
        }