示例#1
0
 private void ClientToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (ClientView client = new ClientView())
     {
         client.DataUpdated += presenter.Views;
         client.ShowDialog();
     }
 }
示例#2
0
        private void ButtonSearchClient_Click(object sender, EventArgs e)
        {
            using (ClientView client = new ClientView(true))
            {
                client.ShowDialog();

                if (client.SearchIdClient != null)
                {
                    presenter.GetByClient(client.SearchIdClient);
                }
            }
        }
示例#3
0
        private void ButtonSearchByClient_Click(object sender, EventArgs e)
        {
            radioButtonActive.Checked  = false;
            radioButtonAll.Checked     = false;
            radioButtonPastDue.Checked = false;

            using (ClientView client = new ClientView(true))
            {
                client.ShowDialog();

                if (client.SearchIdClient != null)
                {
                    DefaultView();
                    presenterHaspKey.GetByClient(client.SearchIdClient);

                    labelClient.Text     = client.SearchIdClient.Name;
                    labelClient.Location = new System.Drawing.Point((this.Width - 25) - labelClient.Width, labelClient.Location.Y);
                }
            }
        }