Exemplo n.º 1
0
 private void CKSgcVdeNY([In] object obj0, [In] EventArgs obj1)
 {
     if (this.ASnMxoTP6b.Count == 0)
     {
         int num1 = (int)MessageBox.Show((IWin32Window)this, RNaihRhYEl0wUmAftnB.aYu7exFQKN(31228), "", MessageBoxButtons.OK, MessageBoxIcon.None);
     }
     else
     {
         GotoForm gotoForm = new GotoForm();
         gotoForm.cMWbyXRTvJ(this.ASnMxoTP6b.FirstDateTime, this.ASnMxoTP6b.LastDateTime, this.ASnMxoTP6b.Count);
         if (gotoForm.ShowDialog((IWin32Window)this) == DialogResult.OK)
         {
             try
             {
                 this.Cursor = Cursors.WaitCursor;
                 int index = -1;
                 if (gotoForm.w2tbZT9kLy() is int)
                 {
                     index = (int)gotoForm.w2tbZT9kLy();
                 }
                 if (gotoForm.w2tbZT9kLy() is DateTime)
                 {
                     index = this.ASnMxoTP6b.IndexOf((DateTime)gotoForm.w2tbZT9kLy(), SearchOption.Next);
                 }
                 if (index != -1)
                 {
                     this.KlQMF7RVxb.EnsureVisible(index);
                     this.KlQMF7RVxb.Items[index].Selected = true;
                 }
                 this.Cursor = Cursors.Default;
             }
             catch (Exception ex)
             {
                 this.Cursor = Cursors.Default;
                 if (Trace.IsLevelEnabled(TraceLevel.Error))
                 {
                     Trace.WriteLine(((object)ex).ToString());
                 }
                 int num2 = (int)MessageBox.Show((IWin32Window)this, RNaihRhYEl0wUmAftnB.aYu7exFQKN(31272), RNaihRhYEl0wUmAftnB.aYu7exFQKN(31414), MessageBoxButtons.OK, MessageBoxIcon.Hand);
             }
         }
         gotoForm.Dispose();
     }
 }
Exemplo n.º 2
0
 private void CKSgcVdeNY([In] object obj0, [In] EventArgs obj1)
 {
   if (this.ASnMxoTP6b.Count == 0)
   {
     int num1 = (int) MessageBox.Show((IWin32Window) this, RNaihRhYEl0wUmAftnB.aYu7exFQKN(31228), "", MessageBoxButtons.OK, MessageBoxIcon.None);
   }
   else
   {
     GotoForm gotoForm = new GotoForm();
     gotoForm.cMWbyXRTvJ(this.ASnMxoTP6b.FirstDateTime, this.ASnMxoTP6b.LastDateTime, this.ASnMxoTP6b.Count);
     if (gotoForm.ShowDialog((IWin32Window) this) == DialogResult.OK)
     {
       try
       {
         this.Cursor = Cursors.WaitCursor;
         int index = -1;
         if (gotoForm.w2tbZT9kLy() is int)
           index = (int) gotoForm.w2tbZT9kLy();
         if (gotoForm.w2tbZT9kLy() is DateTime)
           index = this.ASnMxoTP6b.IndexOf((DateTime) gotoForm.w2tbZT9kLy(), SearchOption.Next);
         if (index != -1)
         {
           this.KlQMF7RVxb.EnsureVisible(index);
           this.KlQMF7RVxb.Items[index].Selected = true;
         }
         this.Cursor = Cursors.Default;
       }
       catch (Exception ex)
       {
         this.Cursor = Cursors.Default;
         if (Trace.IsLevelEnabled(TraceLevel.Error))
           Trace.WriteLine(((object) ex).ToString());
         int num2 = (int) MessageBox.Show((IWin32Window) this, RNaihRhYEl0wUmAftnB.aYu7exFQKN(31272), RNaihRhYEl0wUmAftnB.aYu7exFQKN(31414), MessageBoxButtons.OK, MessageBoxIcon.Hand);
       }
     }
     gotoForm.Dispose();
   }
 }