//for single music complete, show open file and folder public void initParameter(string fullFilename, string folderPath) { curFullFilename = fullFilename; curFolderPath = folderPath; curParentForm = (frmDownloadSongtasteMusic)this.Owner; onlyShowFoler = false; }
public completeHint() { InitializeComponent(); curParentForm = null; crl = new crifanLib(); onlyShowFoler = false; }
//for album complete, only show open folder public void initParameter(string folderPath) { curFolderPath = folderPath; lklOpenFile.Hide(); //calc the new pos for folder label int newX = this.Width / 2 - lklOpenFolder.Size.Width/2; lklOpenFolder.Location = new Point(newX, lklOpenFolder.Location.Y); curParentForm = (frmDownloadSongtasteMusic)this.Owner; onlyShowFoler = true; }
//for album complete, only show open folder public void initParameter(string folderPath) { curFolderPath = folderPath; lklOpenFile.Hide(); //calc the new pos for folder label int newX = this.Width / 2 - lklOpenFolder.Size.Width / 2; lklOpenFolder.Location = new Point(newX, lklOpenFolder.Location.Y); curParentForm = (frmDownloadSongtasteMusic)this.Owner; onlyShowFoler = true; }