示例#1
0
 public FrmThempEditView(ControlContent con)
 {
     InitializeComponent();
     this.Load += new EventHandler(FrmThempEditView_Load);
     this.ucCodeView1.P_Tools_save_Click += new EventHandler(ucCodeView1_P_Tools_save_Click);
     content = con;
 }
示例#2
0
        void bottonitem_Click(object sender, EventArgs e)
        {
            if (control == null)
            {
                control =
                    Main.Interface.ComeBaseModule.UnManagerObjectPolling.GetObjectByName <ControlContent>("controlcontent") as ControlContent;
            }

            FrmEditDemo demo = new FrmEditDemo();

            demo.TabText = (sender as ButtonItem).Text + "  .源码参考";
            control.OnShowDemoEvent(new ThempEditArgs <FrmEditDemo>(demo));
        }