CSKernelClient.fErrors.setErrorIcon C# (CSharp) Method

setErrorIcon() public method

public setErrorIcon ( ) : void
return void
        public void setErrorIcon() 
        {
            System.Reflection.Assembly assembly = System.Reflection.Assembly.GetExecutingAssembly();
            picIcon.Image = new Bitmap(assembly.GetManifestResourceStream(assembly.GetName().Name + ".Resources.error.png"));
        }
        public void setErrorInfo()

Usage Example

Ejemplo n.º 1
0
 public static void mngError(Exception ex,
                      string function,
                      string module,
                      string infoAdd,
                      string title,
                      eErrorLevel level,
                      eErrorType varType,
                      object connection)
 {
     // TODO: implement function
     fErrors f = new fErrors();
     f.setErrorIcon();
     f.setDetails(ex.Message);
     f.ShowDialog();
 }
All Usage Examples Of CSKernelClient.fErrors::setErrorIcon