public ExportWindow(ExportClass epClass) { InitializeComponent(); EPClass = epClass; Location = EPClass.Location; save_textBox.Text = Location; this.KeyDown += new KeyEventHandler(OnEnterClick); save_textBox.Focus(); this.checkBox_fps.CheckedChanged += this.CheckCheckedState; this.checkBox_xml.CheckedChanged += this.CheckCheckedState; this.save_textBox.TextChanged += (o, e) => { Location = save_textBox.Text; EPClass.Location = Location; }; this.Show(); }
private void export_button_Click(object sender, EventArgs e) { ExportClass epc = new ExportClass(imported_list, _main_window.SavePath); }