Пример #1
0
        private void btnRedactor_Click(object sender, EventArgs e)
        {
            var  element = (Card)listBoxResult.SelectedItem;
            Form formRedactor;

            if (element != null)
            {
                formRedactor = new FormRedactor(cashList, element);
            }
            else
            {
                formRedactor = new FormRedactor(cashList);
            }
            formRedactor.Show();
        }
Пример #2
0
        private void окноРедактораToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form formRedactor = new FormRedactor(cashList);

            formRedactor.Show();
        }