18 references to CreateGraphics
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (1)
92Dim labelGraphics As Graphics = Label.CreateGraphics
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (1)
2260using Graphics g = CreateGraphics();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
299using (Graphics g = CreateGraphics())
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
612using (Graphics g = _gridView.CreateGraphics())
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
172using Graphics graphics = CreateGraphics();
System.Windows.Forms.Design (11)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
523using Graphics g = _listBox.CreateGraphics();
System\ComponentModel\Design\MultilineStringEditor.MultilineStringEditorUI.cs (2)
361using (Graphics g = CreateGraphics()) 412using Graphics g = CreateGraphics();
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
138Graphics result = _adornerWindow.CreateGraphics();
System\Windows\Forms\Design\ComponentTray.cs (1)
1987Graphics gr = CreateGraphics();
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (1)
45using Graphics g = _typesListBox.CreateGraphics();
System\Windows\Forms\Design\DesignerUtils.cs (1)
529using Graphics g = ctrl.CreateGraphics();
System\Windows\Forms\Design\SplitterPanelDesigner.cs (3)
134using Graphics graphics = _splitterPanel.CreateGraphics(); 158using Graphics graphics = control.CreateGraphics(); 173using Graphics graphics = control.CreateGraphics();
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
61get => _toolStripAdornerWindow.CreateGraphics();
System.Windows.Forms.Tests (1)
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (1)
504using Graphics graphics = form.CreateGraphics();
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
294using (SD.Graphics graphicsTemplate = control.CreateGraphics())