Using C# in PowerShell to move files

0 Comments

  Screedump form Windows PowerShell ISE     Code $source = @" using System; using System.Collections.Generic; using System.Text; using System.IO; namespace Rvl.Demo.Common {     public class MoveFiles     {         public static void Move()        

Using XBMC on my ASUS EEE Box 1012P

0 Comments

  Because the ASUS EEE Box 1012P is shipped with Windows 7, I first installed XBMC 10.0 (released 19-dec-1010). on Windows 7. Installation – Download XBMC 10.0 from http://xbmc.org/download/ – Next Next Finish installation.  

Setting 100% width and 100% height for a Textbox in WPF

2 Comments

If you want to stretch a textbox to the width of the window in WPF you can use the following code   Code <Window x:Class="Ada.Eac.UI.DeployWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="DeployWindow" Height="300" Width="988" SnapsToDevicePixels="True" UseLayoutRounding="True" WindowState="Maximized" WindowStartupLocation="CenterScreen" Icon="/Eac;component/Dashboard.ico">