Example #1
0
 private void LsAYBqVUCO([In] object obj0, [In] LinkLabelLinkClickedEventArgs obj1)
 {
     if (this.lrWxshXtQ8 == null)
     {
         string fileName = Framework.Installation.HelpDir.FullName + RNaihRhYEl0wUmAftnB.aYu7exFQKN(5882);
         try
         {
             this.lrWxshXtQ8 = Process.Start(fileName);
             this.lrWxshXtQ8.EnableRaisingEvents = true;
             this.lrWxshXtQ8.Exited += new EventHandler(this.mvixeS72lg);
         }
         catch (Exception ex)
         {
             if (SmartQuant.Trace.IsLevelEnabled(SmartQuant.TraceLevel.Error))
             {
                 SmartQuant.Trace.WriteLine(((object)ex).ToString());
             }
             int num = (int)MessageBox.Show((IWin32Window)this, RNaihRhYEl0wUmAftnB.aYu7exFQKN(5928) + fileName, RNaihRhYEl0wUmAftnB.aYu7exFQKN(5980), MessageBoxButtons.OK, MessageBoxIcon.Hand);
         }
     }
     else
     {
         CustomFormatDialog.GUrYzUGLAo(this.lrWxshXtQ8.MainWindowHandle);
     }
 }
Example #2
0
 private void Wt8JWhWpkK([In] object obj0, [In] EventArgs obj1)
 {
   Column column = this.settings.Template.Columns[this.cOfJEtN14g.Column - 1];
   CustomFormatDialog customFormatDialog = new CustomFormatDialog();
   customFormatDialog.Format = column.ColumnFormat;
   if (customFormatDialog.ShowDialog() == DialogResult.OK)
   {
     ColumnMenuItem columnMenuItem = (obj0 as MenuItem).Parent as ColumnMenuItem;
     if (columnMenuItem.ColumnType != ColumnType.Skipped)
       this.wx5JJ905QK(columnMenuItem.ColumnType);
     column.ColumnType = columnMenuItem.ColumnType;
     column.ColumnFormat = customFormatDialog.Format;
     switch (columnMenuItem.ColumnType)
     {
       case ColumnType.DateTime:
         this.wx5JJ905QK((ColumnType) 12);
         break;
       case ColumnType.Date:
       case ColumnType.Time:
         this.wx5JJ905QK(ColumnType.DateTime);
         break;
     }
     this.alwJM3EfWV();
   }
   customFormatDialog.Dispose();
 }