Exemplo n.º 1
0
 void lnkNew_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if (this.frmOper == null)
     {
         this.frmOper = new FrmPostageNoteOper();
         new FrmStyle(frmOper).SetPopFrmStyle(this);
         this.frmOper.AffterSave += new FrmPostageNoteOper.AffterSaveDelegate(frmOper_AffterSave);
     }
     this.frmOper.NewNote();
     this.frmOper.ShowDialog();
 }
Exemplo n.º 2
0
 void btnSave_Click(object sender, EventArgs e)
 {
     if (this.ValidateData() == false)
     {
         return;
     }
     if (this.frmOper == null)
     {
         this.frmOper = new FrmPostageNoteOper();
         new FrmStyle(frmOper).SetPopFrmStyle(this);
         this.frmOper.AffterSave += new FrmPostageNoteOper.AffterSaveDelegate(frmOper_AffterSave);
     }
     this.frmOper.NewNote();
     this.frmOper.ShowDialog();
 }