Exemplo n.º 1
0
        private void OpenFormClient(object sender, EventArgs e)
        {
            FormClient clientForm = new FormClient(_client);

            clientForm.FormClosed += UpdateValue;

            clientForm.Show();
        }
Exemplo n.º 2
0
        public ControlEntry(FormClient form, Entry entry, int id)
        {
            InitializeComponent();

            _id        = id;
            _form      = form;
            IsCheckout = entry.IsCheckout;

            AssembleLabels(entry);
            AssembleDataGrid(entry.Data);

            Dock     = DockStyle.Top;
            AutoSize = true;
            ResizeGrid(null, null);
        }