void App_Startup(object sender, StartupEventArgs e) { JumpList jumpList1 = JumpList.GetJumpList(GitApp.Current); var window = new FolderWindowGit(); // NoBorder Folder.CsApp.FolderWindow = window; window.AllowsTransparency = false; window.Show(); }
public void Main() // FoxApplication app = null, bool lRun = false) { Dll = "/FolderGit"; appCur = Application.Current as GitApp ?? GitApp.Instance; try { //if (appCur == null) // appCur = Folder.GitApp.Ref(); appCur.ShutdownMode = ShutdownMode.OnExplicitShutdown; } catch (Exception) { } var mainWnd = appCur.Window; if (mainWnd == null) { mainWnd = new FolderWindowGit(); } CsApp.FolderWindow = mainWnd; }
public static void Bind(this FolderWindowGit w, Forms.TextBox txtFile) { txtFile.Tag = w; txtFile.PreviewKeyDown += txtFile_PreviewKeyDown; }