/// <summary>
        /// 各種モデルクラスをインスタンス化する
        /// </summary>
        public Form1()
        {
            InitializeComponent ();

            bg = new BackGround (Application.StartupPath + @"/images/");
            road = new Road (Application.StartupPath + @"/datas/RoadData.csv");
            car = new Car (road);
            cloud = new Cloud (Width, Height, 15);

            ImageCache = new Dictionary<string, Bitmap> ();

            // このウインドウの角を丸める
            //            IntPtr rgn1 = CreateRoundRectRgn(0, 0, 512, 512, 128, 128);
            //            SetWindowRgn(Handle, rgn1, true);

            // 最初に、現在時刻の状態を描いておく
            Draw (DateTime.Now);
        }
 public void Setup()
 {
     bg = new BackGround(@"C:\Dev_Private\Team_DIG_ClockDrive_VSHackathon\Projects\ClockDrive\ClockDrive\bin\Debug\images\");
 }
 public void Setup()
 {
     // 環境依存を減らすため、現在pathから類推
     string path = System.IO.Directory.GetCurrentDirectory().Replace("DriveTest" , "Drive") + "/images/";
     bg = new BackGround(path);
 }