1 instantiation of OPENFILENAME
System.Windows.Forms (1)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (1)
755OPENFILENAME ofn = new()
14 references to OPENFILENAME
System.Windows.Forms (6)
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.cs (4)
385private unsafe bool DoFileOk(OPENFILENAME* lpOFN) 755OPENFILENAME ofn = new() 757lStructSize = (uint)sizeof(OPENFILENAME), 786private protected abstract unsafe bool RunFileDialog(OPENFILENAME* ofn);
System\Windows\Forms\Dialogs\CommonDialogs\OpenFileDialog.cs (1)
115private protected override unsafe bool RunFileDialog(OPENFILENAME* ofn)
System\Windows\Forms\Dialogs\CommonDialogs\SaveFileDialog.cs (1)
140private protected override unsafe bool RunFileDialog(OPENFILENAME* ofn)
System.Windows.Forms.Primitives (3)
Windows\Win32\PInvoke.GetOpenFileName.cs (2)
13public static extern unsafe BOOL GetOpenFileName(OPENFILENAME* param0); 16public static extern unsafe BOOL GetSaveFileName(OPENFILENAME* param0);
Windows\Win32\UI\Controls\Dialogs\OFNOTIFY.cs (1)
10public OPENFILENAME* lpOFN;
System.Windows.Forms.Tests (5)
System\Windows\Forms\FileDialogTests.cs (5)
655Assert.Equal(sizeof(OPENFILENAME), (int)o.lStructSize); 713Assert.Equal(sizeof(OPENFILENAME), (int)o.lStructSize); 751Assert.Equal(sizeof(OPENFILENAME), (int)o.lStructSize); 840public Func<OPENFILENAME, bool> RunFileDialogAction { get; set; } 842private protected override bool RunFileDialog(OPENFILENAME* ofn)