示例#1
0
 public PlanEntry(IUnityContainer container, UIState state, long id)
     : this()
 {
     this.container = new PlanContainer(container, state, id);
     binding = new BindingSource();
     binding.AddingNew += Binding_AddingNew;
 }
示例#2
0
 public PlanEntry(PlanContainer container)
     : this()
 {
     this.container = container;
     binding = new BindingSource();
     binding.AddingNew += Binding_AddingNew;
 }
示例#3
0
文件: PlanList.cs 项目: swanestle/iXY
        private void tsbAdd_Click(object sender, EventArgs e)
        {
            PlanContainer planContainer = new PlanContainer(this.container.UnityContainer, UIState.New, new Plan());
            PlanEntry listForm = new PlanEntry(planContainer);
            listForm.ShowDialog(this);

            ICollection collection = container.BindingSource;

            //container.BindingSource.Add();
        }