private void tsbtnSave_Click(object sender, EventArgs e) { if (StructAtomStringXmlWorker.SaveInputSeqToFile(Items)) { MessageBox.Show("Последовательность сохранена", this.Text, MessageBoxButtons.OK, MessageBoxIcon.Information); } else { MessageBox.Show("Последовательность не сохранена", this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
private void tsbtnLoad_Click(object sender, EventArgs e) { Items = new List <StructAtom <string> >(StructAtomStringXmlWorker.LoadInputSeqFromFile()); SyncItems(); }