mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
19 lines
528 B
C#
19 lines
528 B
C#
using System.Windows.Forms;
|
|
using mRemoteNG.App.Info;
|
|
|
|
namespace mRemoteNG.UI
|
|
{
|
|
public class DialogFactory
|
|
{
|
|
public static OpenFileDialog BuildLoadConnectionsDialog()
|
|
{
|
|
return new OpenFileDialog
|
|
{
|
|
Title = "",
|
|
CheckFileExists = true,
|
|
InitialDirectory = ConnectionsFileInfo.DefaultConnectionsPath,
|
|
Filter = Language.strFiltermRemoteXML + @"|*.xml|" + Language.strFilterAll + @"|*.*"
|
|
};
|
|
}
|
|
}
|
|
} |