アプリケーションから必要な Visual Studio の情報

  デバッグモード



条件付きコンパイル定数
  
Try

	処理

Catch ex As Exception

#If DEBUG Then
	Console.WriteLine(ex.Message)
#Else
#End If

End Try
  


※ 参考ページ



  デザインモードかどうか



DesignMode プロパティ
  
' *******************************************************************
' 内部 PictureBox( 高速描画用 )
' *******************************************************************
Private Class LboxEditorPicture
	Inherits System.Windows.Forms.PictureBox

	Protected Overrides Sub OnPaint(ByVal pe As System.Windows.Forms.PaintEventArgs)

		If Not Me.DesignMode Then
			CType(Me.Parent, Object).ResetRowArea(pe.Graphics)
		End If

	End Sub

End Class
  










  infoboard   管理者用   
このエントリーをはてなブックマークに追加





フリーフォントWEBサービス
SQLの窓WEBサービス

SQLの窓フリーソフト

素材

一般WEBツールリンク

SQLの窓

フリーソフト

JSライブラリ