private void button900SelPart_Click(object sender, EventArgs e) { string tempFileName = ""; status = CaxPublic.OpenFileDialog(out tempFileName, out label900BilletPath); if (!status) { MessageBox.Show("選擇檔案失敗,請聯繫開發工程師"); return; } label900.Text = tempFileName; }
private void buttonWSelPart_Click(object sender, EventArgs e) { string ServerPartPath = string.Format(@"{0}\{1}\{2}\{3}", CaxEnv.GetGlobaltekTaskDir(), CurrentCusName, CurrentPartNo, CurrentCusVer); string tempFileName = ""; status = CaxPublic.OpenFileDialog(out tempFileName, out labelWBilletPath, ServerPartPath); if (!status) { MessageBox.Show("選擇檔案失敗,請聯繫開發工程師"); return; } labelW.Text = tempFileName; }