public void OpenFile(string strOpenFileName) { this.Text = System.IO.Path.GetFileName(strOpenFileName); m_RecordPlayer.LoadRecordFile(strOpenFileName); int nhWnd = this.pictureBox1.Handle.ToInt32(); m_RecordPlayer.SetReplayWindow((uint)nhWnd); InitTreeView(); SetSliderRangle(); }