Рисование кругов с Системой. Рисование

sp_msforeachtable: Выполняет команду с'?' заменил каждым именем таблицы. например,

exec sp_msforeachtable "dbcc dbreindex('?')"

можно дать до 3 команд для каждой таблицы

exec sp_msforeachtable
    @Command1 = 'print ''reindexing table ?''',
    @Command2 = 'dbcc dbreindex(''?'')',
    @Command3 = 'select count (*) [?] from ?'

кроме того, sp_MSforeachdb

18
задан Olivier Jacot-Descombes 13 October 2015 в 21:52
поделиться

3 ответа

Попробуйте вместо этого метод DrawEllipse .

21
ответ дан 30 November 2019 в 05:53
поделиться

Вам потребуется DrawEllipse , если вы хотите нарисовать круг с помощью GDI +.

Пример здесь: http: // www. websupergoo.com/helpig6net/source/3-examples/9-drawgdi.htm[1252 visible

6
ответ дан 30 November 2019 в 05:53
поделиться

Вам следует использовать DrawEllipse :

//
// Summary:
//     Draws an ellipse defined by a bounding rectangle specified by coordinates
//     for the upper-left corner of the rectangle, a height, and a width.
//
// Parameters:
//   pen:
//     System.Drawing.Pen that determines the color, width,
//      and style of the ellipse.
//
//   x:
//     The x-coordinate of the upper-left corner of the bounding rectangle that
//     defines the ellipse.
//
//   y:
//     The y-coordinate of the upper-left corner of the bounding rectangle that
//     defines the ellipse.
//
//   width:
//     Width of the bounding rectangle that defines the ellipse.
//
//   height:
//     Height of the bounding rectangle that defines the ellipse.
//
// Exceptions:
//   System.ArgumentNullException:
//     pen is null.
public void DrawEllipse(Pen pen, int x, int y, int width, int height);
4
ответ дан 30 November 2019 в 05:53
поделиться
Другие вопросы по тегам:

Похожие вопросы: