private void _cropImagesBtn_Click(object sender, EventArgs e) { var cropperForm = new ImageCropper(_cropSourcePathTextBox.Text, _cropOutputPathTextBox.Text, PathSelector.GetAllChildPaths(_cropSourcePathTextBox.Text)); cropperForm.ShowDialog(); }
private void _createBgTxtBtn_Click(object sender, EventArgs e) { var rawPaths = PathSelector.GetAllChildPaths(_sourcePathTextBox.Text); var negativePaths = NegativeSampleCreator.ConvertToNegativeSamplePath(rawPaths); NegativeSampleCreator.CreateBgTxt(negativePaths, _outputPathTextBox.Text); MessageBox.Show($"bg.txt successfully created at \n {_outputPathTextBox.Text}", "Success!"); }
private void _cropSelectOutputBtn_Click(object sender, EventArgs e) { _cropOutputPathTextBox.Text = PathSelector.GetFilePath(); }
private void _cropSelectSourceBtn_Click(object sender, EventArgs e) { _cropSourcePathTextBox.Text = PathSelector.GetFilePath(); }