Manage PlItems

You may optionally enter a comparison operator (<, <=, >, >=, <> or =) at the beginning of each of your search values to specify how the comparison should be done.

Advanced Search
Displaying 91-100 of 300 results.
IDPlCodelangPlGroupPlItemTitleCode 
 
93C#SonstigesSolidColorBrush von String KonventiereninputBox.BorderBrush = new BrushConverter().ConvertFromString("#FF7F9DB9") as SolidColorBrush;View Update Delete
94C#FilehandlingAlle Dateien aus Verzeichnis auslesenprivate void ReadAllFilesInDir(string path) { DirectoryInfo dirInfo = new DirectoryInfo(path); FileInfo[] files = dirInfo.GetFiles(); foreach (FileInfo fiOutput in files) { Console.WriteLine(fiOutput.Name); } }View Update Delete
95C#SonstigesProgramm mit Parameter startenpublic void StartApp(string filePath, string arguments) { var newProcess = new Process(); newProcess.StartInfo.FileName = filePath; newProcess.StartInfo.Arguments = arguments; newProcess.Start(); }View Update Delete
96C#SonstigesProgramm einfach startenProcess.Start("Programm.exe");View Update Delete
97C#GUI, .NET-WPFWPF Fenster auf Element bewegen. Z.B. die Methode DragMove() in das Event MouseDown-Event des Windowprivate void Window_MouseDown(object sender, MouseButtonEventArgs e) { DragMove(); }View Update Delete
98C#SonstigesGibt den aktuellen ProgrammOrdnerPfad der Applikation aus.Console.WriteLine(AppDomain.CurrentDomain.BaseDirectory);View Update Delete
99C#SonstigesBeendet die aktuelle ApplikationApplication.Current.Shutdown();View Update Delete
100C#SonstigesStartet die aktuelle Applikation neuvoid RestartApplication() { string[] FullNameSplit = Application.ResourceAssembly.FullName.Split((char)44); Process.Start(FullNameSplit[0] + ".exe"); Application.Current.Shutdown(); }View Update Delete
101C#SonstigesGibt die Version der aktuellen Applikation als string zurückprivate string GetApplicationVersion() { string[] FullNameSplit = Application.ResourceAssembly.FullName.Split((char)44); return FullNameSplit[1].Replace("Version=", string.Empty).Trim(); }View Update Delete
102C#StringsPrüfen ob String einen Integerwert istprivate bool IsInteger(string inputString) { int i; return int.TryParse(inputString, out i); }View Update Delete