17 references to new
System.Drawing.Common (2)
System\Drawing\Graphics.cs (2)
733using GraphicsPath path = new(); 1207using GraphicsPath path = new();
System.Windows.Forms (15)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\FlatButtonDarkModeRenderer.cs (1)
112using var path = new GraphicsPath();
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ModernButtonDarkModeRenderer.cs (1)
227GraphicsPath path = new();
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (1)
201GraphicsPath path = new();
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\SystemButtonDarkModeRenderer.cs (3)
225GraphicsPath path = new(); 264GraphicsPath path = new(); 314GraphicsPath path = new();
System\Windows\Forms\Controls\ComboBox\ComboBox.ModernComboAdapter.cs (1)
439GraphicsPath path = new();
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (1)
489GraphicsPath path = new();
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (1)
2746using GraphicsPath roundedBodyPath = new();
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
1126using GraphicsPath bodyPath = new();
System\Windows\Forms\ParentBackgroundRenderer.cs (1)
81using GraphicsPath outline = new();
System\Windows\Forms\Rendering\Animation\AnimatedFocusIndicatorRenderer.cs (1)
114using GraphicsPath focusPath = new();
System\Windows\Forms\Rendering\Button\PopupButtonKeyCapRenderer.cs (1)
612GraphicsPath path = new();
System\Windows\Forms\Rendering\CheckBox\AnimatedCheckGlyphRenderer.cs (1)
246GraphicsPath path = new();
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (1)
245using GraphicsPath path = new();