private void LCZkOA30rW() { List <Instrument> list = new List <Instrument>(); foreach (uRIUcg8mp5qy3pl442 riUcg8mp5qy3pl442 in this.vY9kUsI2Ej.Items) { list.Add(riUcg8mp5qy3pl442.tRpHqexTIJ()); } InstrumentSelectorDialog instrumentSelectorDialog = new InstrumentSelectorDialog(); instrumentSelectorDialog.SelectedInstruments = list.ToArray(); if (instrumentSelectorDialog.ShowDialog((IWin32Window)this) == DialogResult.OK) { this.vY9kUsI2Ej.BeginUpdate(); this.vY9kUsI2Ej.Items.Clear(); foreach (Instrument instrument in instrumentSelectorDialog.SelectedInstruments) { this.vY9kUsI2Ej.Items.Add((ListViewItem) new uRIUcg8mp5qy3pl442(instrument)); } this.vY9kUsI2Ej.EndUpdate(); } instrumentSelectorDialog.Dispose(); }
private void LCZkOA30rW() { List<Instrument> list = new List<Instrument>(); foreach (uRIUcg8mp5qy3pl442 riUcg8mp5qy3pl442 in this.vY9kUsI2Ej.Items) list.Add(riUcg8mp5qy3pl442.tRpHqexTIJ()); InstrumentSelectorDialog instrumentSelectorDialog = new InstrumentSelectorDialog(); instrumentSelectorDialog.SelectedInstruments = list.ToArray(); if (instrumentSelectorDialog.ShowDialog((IWin32Window) this) == DialogResult.OK) { this.vY9kUsI2Ej.BeginUpdate(); this.vY9kUsI2Ej.Items.Clear(); foreach (Instrument instrument in instrumentSelectorDialog.SelectedInstruments) this.vY9kUsI2Ej.Items.Add((ListViewItem) new uRIUcg8mp5qy3pl442(instrument)); this.vY9kUsI2Ej.EndUpdate(); } instrumentSelectorDialog.Dispose(); }