private void btnAddEff_Click(object sender, EventArgs e) { AddNewEff ade = new AddNewEff(); ade.ShowDialog(this); LoadEffects(); }
private void btnModifyEff_Click(object sender, EventArgs e) { string effName = cbEffCfg.Text; string[] scriptInfo = new string[0]; string[] v4Style = new string[0]; string engStyle = ""; string events = ""; ReadEffectDetail(effName, ref scriptInfo, ref v4Style, ref events, ref engStyle); AddNewEff ade = new AddNewEff(effName, scriptInfo, v4Style, events, engStyle); ade.ShowDialog(this); LoadEffects(); }