BuildingCoder.CmdCloseDocument.CloseDocProc C# (CSharp) 메소드

CloseDocProc() 정적인 개인적인 메소드

static private CloseDocProc ( object stateInfo ) : void
stateInfo object
리턴 void
        static void CloseDocProc( object stateInfo )
        {
            try
              {
            // maybe we need some checks for the right
            // document, but this is a simple sample...

            SendKeys.SendWait( "^{F4}" );
              }
              catch( Exception ex )
              {
            Util.ErrorMsg( ex.Message );
              }
        }
CmdCloseDocument