Beispiel #1
0
    public override void DoCommand(string command)
    {
        if (PState.IsEmpty)
        {
            return;
        }
        DataRow Curr = DS.bookingdetail.Rows[0];

        if (command == "autorizza")
        {
            Curr["authorized"] = "S";
            CommFun.FreshForm(false, false);
            CommFun.DoMainCommand("mainsave");
            if (DS.HasChanges())
            {
                return;
            }
            CommFun.DoMainCommand("mainsetsearch");
            CommFun.DoMainCommand("maindosearch");
        }
    }