Exemplo n.º 1
0
        public ImportOrderView()
        {
            InitializeComponent();

            ImportOrderSearchControl sosc = new ImportOrderSearchControl();
            ImportOrderControl soc = new ImportOrderControl();
            sosc.Dock = DockStyle.Fill;
            soc.Dock = DockStyle.Fill;
            // Add fn callback
            sosc.addCallbacksFn(soc);

            this.splitContainer.Panel1.Controls.Add(sosc);
            this.splitContainer.Panel2.Controls.Add(soc);
        }
Exemplo n.º 2
0
 public void addCallbacksFn(ImportOrderControl editor)
 {
     this.SetOrderDelegateCallback += new SetOrderDelegate(editor.SetOrderDelegateCallbackFn);
 }