Пример #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     RegisterResource();
     BuildToolBar();
     if(Edit != null)
        Edit += new EditDelegate(DoEdit);
     if(Minimize != null)
        Minimize += new MinimizeDelegate(DoMinimize);
     if(Maximize != null)
        Maximize += new MaximizeDelegate(DoMaximize);
     if(Load != null)
        Load += new LoadDelegate(DoLoad);
     if(Create != null)
        Create += new CreateDelegate(DoCreate);
     if(Close != null)
        Close += new CloseDelegate(DoClose);
 }
Пример #2
0
 public void Queue(EditDelegate del, string text)
 {
     myThread.Start();
 }
Пример #3
0
 public void ExecuteEditDelegate(EditDelegate del, string text)
 {
     queuedText = text;
     lastDel = del;
     Execute();
 }
Пример #4
0
 protected override void Page_Load(object sender, System.EventArgs e)
 {
     base.Page_Load(sender, e);
     RegisterResource();
     BuildToolBar();
     Edit += new EditDelegate(DoEdit);
     Minimize += new MinimizeDelegate(DoMinimize);
     Maximize += new MaximizeDelegate(DoMaximize);
     Load += new LoadDelegate(DoLoad);
     Create += new CreateDelegate(DoCreate);
     Close += new CloseDelegate(DoClose);
 }