private void ToolStrip_stratcut_Click(object sender, EventArgs e) { if (CDB.ids.Count > 0 && MessageBox.Show("只支持裁剪简体版的卡图。\n\n裁剪后的图片保存在ExportImages文件夹。", "确定开始裁剪卡图?", MessageBoxButtons.OKCancel) == DialogResult.OK) { ProcessForm pf = new ProcessForm(SET.GamePath); pf.ShowDialog(); } }
private void ToolStrip_startcut_Click(object sender, EventArgs e) { string f; if (CCFile.SelectOpenFile(out f, "请选择MSE存档。", "mse-set", "")) { ProcessForm pf = new ProcessForm(f, path + "Images\\"); pf.ShowDialog(); } }
private void button_start_Click(object sender, EventArgs e) { if (radioButton_ygopro.Checked == true) { ProcessForm pf = new ProcessForm(textBox_jpg.Text, textBox_save.Text, trackBar_quilty.Value, comboBox_ex.Text, 0, 0); pf.ShowDialog(); } else { int w, h; int.TryParse(textBox_w.Text, out w); int.TryParse(textBox_h.Text, out h); if (w > 0 && h > 0) { ProcessForm pf = new ProcessForm(textBox_jpg.Text, textBox_save.Text, trackBar_quilty.Value, comboBox_ex.Text, w, h); pf.ShowDialog(); } } }
private void ToolStrip_export_Click(object sender, EventArgs e) { ProcessForm pf = new ProcessForm(SET.GamePath, SET.GamePath + "Export\\"); pf.ShowDialog(); }