private void initEditForm()
        {
            editForm = new EditForm
            {
            ControlBox = false,
            StartPosition = FormStartPosition.Manual
            };

            var editViewHost = new ElementHost
            {
            Dock = DockStyle.Fill,
            Child = this.timeEntryEditViewController
            };

            editForm.Controls.Add(editViewHost);

            editForm.SetViewController(this.timeEntryEditViewController);

            editForm.VisibleChanged += (sender, args) => this.updateEntriesListWidth();
            editForm.Resize += (sender, args) => this.updateEntriesListWidth();
        }
 private void initEditForm()
 {
     editForm = new EditForm
     {
         ControlBox = false,
         StartPosition = FormStartPosition.Manual
     };
     editForm.Controls.Add(timeEntryEditViewController);
     editForm.editView = timeEntryEditViewController;
 }
Esempio n. 3
0
 internal void setEditPopup(EditForm editForm)
 {
     timerEditViewController.editForm = editForm;
 }
 internal void setEditPopup(EditForm editForm)
 {
     timerEditViewController.editForm = editForm;
 }