Esempio n. 1
0
        // コンストラクタ
        public MainWindow()
        {
            var drawArea = this.ClientSize;
            drawArea.Width -= 45;
            m_JimakuRenderer = new JimakuRenderer(this.ClientSize);

            m_ApplicationLogic = new ApplicationLogic();
            m_ApplicationLogic.Attach(this);

            m_SoundEffect = new SoundPlayer();
            m_SoundEffect = new SoundPlayer(@"C:\Tools\nicocast108\newnico.wav");

            InitializeComponent(); // 画面のDPIによっては Resize とか Paint を飛ばしてくるので最後。
        }