private void button_FilePath_Click(object sender, EventArgs e) { string filePath = FileControl.getFilePathFromDialog(); if (filePath != null) { textBox_FilePath.Text = filePath; } }
public MovementForm(ref IDData_KANG IDDatas) { this.IDDatas = IDDatas; InitializeComponent(); FC = new FileControl(); InitIDInfo_Grid(); InitCommand_Grid(); Log_move = new Log(ref textBox_Log); }
private void button_GetText_Click(object sender, EventArgs e) { string filePath = FileControl.getFilePathFromDialog(); picturBox.Image = new Bitmap(filePath); }