Esempio n. 1
0
        private void OpenButton_Click(object sender, EventArgs e)
        {
            ClientCardInfo clientcard = new ClientCardInfo();

            clientcard.setEnabledSum(true);
            clientcard.Show();
        }
Esempio n. 2
0
        private void OpenButton_Click(object sender, EventArgs e)
        {
            ClientCardInfo infocard = new ClientCardInfo();

            infocard.setEnabledSum(flagCanCount);
            infocard.Show();
        }
Esempio n. 3
0
        private void OpenButton_Click(object sender, EventArgs e)
        {
            Control btn = (Control)sender;

            Client openClient = new Client();

            openClient = ClientListService.ClientSearch(btn.Name);

            if (openClient != null)
            {
                ClientCardInfo infocard = new ClientCardInfo(flagCanChange, openClient);
                infocard.Show();
            }
            else
            {
                ClientCardInfo infocard = new ClientCardInfo(flagCanChange);
                infocard.Show();
            }
        }