📄 clscommon.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Security.Cryptography;
using System.Data;
using System.Text.RegularExpressions;
using System.Diagnostics;
namespace qdog
{
class clsCommon
{
public static string RunPath()
{
return RunPath(false);
}
public static string RunPath(Boolean bWithCommand)
{
string strPath = "";
strPath= Process.GetCurrentProcess().MainModule.FileName;
strPath = Path.GetDirectoryName(strPath);
//strPath = System.IO.Path.GetDirectoryName( System.Reflection.Assembly.GetExecutingAssembly.Location);
//if (bWithCommand)
//{
// if (command() != "")
// {
// if (Directory.Exists(Command()))
// {
// strPath = Command();
// }
// }
//}
return strPath;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -