public Deposition1POutput(string target_path, string title, string file1, string file2) //pictureBox1 = "delta_mm_average.jpg" //pictureBox2 = " { InitializeComponent(); this.Text = title; target_path_ = target_path; AdditionalPicture additional_picture = new AdditionalPicture(); //show standard outputs additional_picture.ShowPicture(pictureBox1, target_path_ + file1); additional_picture.ShowPicture(pictureBox2, target_path_ + file2); }
public TrackBarPictures(string title, string name_first_part_with_path, string name_last_part, int number_of_pattern) { InitializeComponent(); this.Text = title; trackBar1.Maximum = number_of_pattern - 1; trackBar1.Minimum = 0; file_name_ = new List <string>(); additionalPicture_ = new AdditionalPicture(); for (int i = 0; i < number_of_pattern; i++) { file_name_.Add(name_first_part_with_path + i + name_last_part); } additionalPicture_.ShowPicture(pictureBox1, file_name_[0]); }
private void button6_Click(object sender, EventArgs e) { string path_image = AppDomain.CurrentDomain.BaseDirectory; try { AdditionalPicture pic1 = new AdditionalPicture(); pic1.title_name_ = "big_equation_plot.jpg"; pic1.Show(); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } }
public LMOutput(string target_path, string title, string file1, string file2, StringBuilder sb) { InitializeComponent(); this.Text = title; target_path_ = target_path; AdditionalPicture additional_picture = new AdditionalPicture(); //show standard outputs additional_picture.ShowPicture(pictureBox1, target_path_ + file1); additional_picture.ShowPicture(pictureBox2, target_path_ + file2); textBox1.Text = sb.ToString(); textBox1.ScrollBars = ScrollBars.Both; textBox1.Select(0, 0); }
private void button2_Click(object sender, EventArgs e) { AdditionalPicture pic1 = new AdditionalPicture(); AdditionalPicture pic2 = new AdditionalPicture(); AdditionalPicture pic3 = new AdditionalPicture(); string original_name = textBox4.Text; pic1.title_name_ = original_name; string core_name; int length = original_name.Length; core_name = original_name.Substring(0, length - 4); pic2.title_name_ = core_name + "_r.jpg"; pic3.title_name_ = core_name + "_z.jpg"; pic1.Show(); pic2.Show(); pic3.Show(); }