private void method_3(object sender, EventArgs43 <string> e)
 {
     if (this.eventHandler_0 != null)
     {
         this.eventHandler_0(this, e);
     }
     e.IsValid = true;
 }
 // Token: 0x06001A09 RID: 6665 RVA: 0x00049A8C File Offset: 0x00047C8C
 public void method_0(object sender, EventArgs43 <PointF> e)
 {
     if (this.class198_0.Point != e.gparam_0 && this.wayPointEditor_0.class101_0.WayPoints[this.enum57_0].ContainsKey(e.gparam_0))
     {
         WayPointEditor.smethod_0(e.gparam_0);
         e.IsValid = false;
     }
 }
 // Token: 0x06002C64 RID: 11364 RVA: 0x00014E7C File Offset: 0x0001307C
 public void method_0(object sender, EventArgs43 <string> e)
 {
     e.IsValid = (e.gparam_0 == this.string_0);
     if (!e.IsValid)
     {
         DialogBox.smethod_3("Your passwords do not match.", "Invalid Password");
     }
 }
Пример #4
0
 // Token: 0x060016D6 RID: 5846 RVA: 0x000376C0 File Offset: 0x000358C0
 protected override bool vmethod_0()
 {
     if (this.eventHandler_0 != null)
     {
         EventArgs43 <int> eventArgs = new EventArgs43 <int>(this.InputTextBox.Value);
         this.eventHandler_0(this, eventArgs);
         return(eventArgs.IsValid);
     }
     return(base.vmethod_0());
 }
 private static void smethod_9(object sender, EventArgs43 <string> e)
 {
     if (string.IsNullOrEmpty(e.gparam_0))
     {
         DialogBox.smethod_3("Please enter a name.", "Empty Name");
         e.IsValid = false;
         return;
     }
     e.IsValid = true;
 }
 // Token: 0x06002979 RID: 10617 RVA: 0x0009EBA0 File Offset: 0x0009CDA0
 private void PointFInput_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (base.DialogResult == DialogResult.OK && this.eventHandler_0 != null)
     {
         EventArgs43 <PointF> eventArgs = new EventArgs43 <PointF>(this.SelectedPoint);
         this.eventHandler_0(this, eventArgs);
         if (!eventArgs.IsValid)
         {
             e.Cancel = true;
         }
     }
 }