Пример #1
0
 public CSend_Ctrl(Send_Form send_form, CSend_Model send_model)
 {
     this.send_form               = send_form;
     this.send_model              = send_model;
     send_model.Event_SQLLink    += new CSend_Model.D_SQLlink(OnEvent_SQLLink);
     send_model.Event_ORACLELink += new CSend_Model.D_ORACLElink(OnEvent_OraLink);
     send_model.LocalDBlink();
     send_model.RemoteDBlink();
     send_model.Event_Send += new CSend_Model.D_Send(send_model_Event_Send);
 }
Пример #2
0
        public Main_Form()
        {
            InitializeComponent();

            CIncept_Model inceptmodel = new CIncept_Model();

            inceptform           = new Incept_Form(inceptmodel);
            inceptform.MdiParent = this;
            splitContainer1.Panel2.Controls.Add(inceptform);
            inceptform.Dock = DockStyle.Fill;
            inceptform.Show();

            sendform           = new Send_Form();
            sendform.MdiParent = this;
            splitContainer1.Panel2.Controls.Add(sendform);
            sendform.Dock = DockStyle.Fill;
            sendform.Show();
        }