Пример #1
0
        public static string RemoveLastDot(string path)
        {
            Match ma = GlobalRegex.GetRegex(RegexType.RemoveLastDot).Match(path);

            if (ma.Success)
            {
                path = path.Substring(0, path.Length - ma.Groups[0].Value.Length);
            }
            return(path);
        }
Пример #2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            SetDllDirectory(CefHelper.cefDirectory);

            Control.IsTabStopProperty.OverrideMetadata(typeof(Control), new FrameworkPropertyMetadata(false));

            GlobalRegex.Initialize();

            GlobalLanguage.InitializeCulture();

            base.OnStartup(e);
        }