private void button1_Click(object sender, EventArgs e)
        {
            MoveExceller me = new MoveExceller(new MoveStatement {
                IDStatement = (moveStatementLocalBindingSource.Current as MoveStatementLocal).Id
            }, _vc, "", (moveStatementLocalBindingSource.Current as MoveStatementLocal).Receiver, (moveStatementLocalBindingSource.Current as MoveStatementLocal).Sender);

            me.MakeDocument();
        }
Example #2
0
        private void DoMove()
        {
            _dmc.moveItem(sendlist, ((localSubdivBindingSource.Current as LocalSubdiv).idSubdiv), ((localSubdivBindingSource1.Current as LocalSubdiv).idSubdiv));
            MoveExceller me = new MoveExceller(Vc.LastStatement(), Vc, " ", Vc.sender(Vc.LastStatement()), Vc.receiver(Vc.LastStatement()));

            me.MakeDocument();
            MessageBox.Show("Перемещение удачно!");
        }