Click here to Skip to main content
15,896,514 members
Articles / Programming Languages / Visual Basic

A Study of Gage Repeatability and Reproducibility for Automated Measuring Systems using VB.NET

Rate me:
Please Sign up or sign in to vote.
5.00/5 (11 votes)
24 Jan 2015CPOL6 min read 53.1K   1.3K   5  
Gage R&R using VB.NET.
Imports System
Imports System.Drawing
Imports System.Collections
Imports System.Data
Imports System.ComponentModel
Imports System.Text
Imports System.Windows.Forms
Namespace Print
    Public Class Header
        Inherits Cell

        Dim iColumnNumber As Integer

        Public Overrides ReadOnly Property ColumnNumber() As Integer
            Get
                Return iColumnNumber
            End Get
        End Property


        '/// <summary>
        '/// Create New Header
        '/// </summary>
        '/// <param name="RowNumber"></param>
        '/// <param name="ColumnNumber"></param>
        '/// <param name="cellfont"></param>
        '/// <param name="align"></param>
        '/// <param name="location"></param>
        '/// <param name="text"></param>
        Public Sub New(ByVal ColumnNumber As Integer, ByVal Headerfont As Font, ByVal align As HorizontalAlignment, ByVal location As RectangleF, ByVal text As String)
            'MyBase.New()
            iColumnNumber = ColumnNumber
            Font = Headerfont
            Alignment = align
            RectangleLocation = location
            CText = text
        End Sub

        '/// <summary>
        '/// Create New Header with default alignment
        '/// </summary>
        '/// <param name="RowNumber"></param>
        '/// <param name="ColumnNumber"></param>
        '/// <param name="cellfont"></param>
        '/// <param name="align"></param>
        '/'// <param name="location"></param>
        '/// <param name="text"></param>
        Public Sub New(ByVal ColumnNumber As Integer, ByVal Headerfont As Font, ByVal location As RectangleF, ByVal text As String)
            iColumnNumber = ColumnNumber
            Font = Headerfont
            Alignment = HorizontalAlignment.Left
            rectLocation = location
            CText = text
        End Sub
    End Class
End Namespace

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader
India India
Microsoft MVP | Code Project MVP | CSharp Corner MVP | Author | Blogger and always happy to Share what he knows to others. MyBlog

My Interview on Microsoft TechNet Wiki Ninja Link

Comments and Discussions