using System;
using System.Windows.Forms;

namespace DevexpressPatchKeygen
{
    public class ServiceRepositoryService
    {
        public int i;
        public PrinterParserList locals2;
        SchemaAdapter schemaAdapter;

        // Constructor
        public ServiceRepositoryService()
        {
        }

        // Method to list authentication
        internal void ListAuthentication()
        {
            this.locals2.locals1.schemaAdapter.order.Text = string.Format("File : {0} of {1}", this.i + 1, this.locals2.nfl);
            this.locals2.locals1.schemaAdapter.@params.Value = (100 * this.i + 1) / this.locals2.nfl;
        }

        // Static method to handle new reader
        internal static bool NewReader()
        {
            return true;
        }

        // Static method to remove reader
        internal static bool RemoveReader()
        {
            return false;
        }
    }
}
