コード例 #1
0
        protected AnkhToolWindowPane()
            : base(null)
        {
            // Issue 3
            // https://github.com/PhilJollans/AnkhSVN2019/issues/3
            try
            {
                // I'm not really sure what I am doing here.
                var prev = NativeImports.SetThreadDpiAwarenessContext(NativeImports.DPI_AWARENESS_CONTEXT.SystemAware);
            }
            catch (EntryPointNotFoundException)
            {
                // Ignore if the entry point is not present
            }

            _host = new AnkhToolWindowHost(this);
        }
コード例 #2
0
 protected AnkhToolWindowPane()
     : base(null)
 {
     _host = new AnkhToolWindowHost(this);
 }