private void button1_Click(object sender, RoutedEventArgs e) { LVData lv = new LVData() { Name = ((iDissType)type).ToString(), Pic = icons[type] }; Window1.textEventArgs E1 = new Window1.textEventArgs(textBox2.Text.Trim()); // E2 = new IconSelect(lv); idssSelect E2 = new idssSelect(lv, (iDissType)type); if (createidss != null) { this.createidss(this, E1, E2); } this.Close(); }
public IconSelect(LVData mm) { m_newtitle = mm; }
public idssSelect(LVData mm, iDissType newtype) { m_newtitle = mm; _type = newtype; }