using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using MercatorApi;
using MercatorUi;
using System.Windows.Forms;

namespace SigCli
{
    public class Customizer : MercatorUi.ICustomizers.IFormLoadCustomizer
    {

        public void FormLoadCustomize(System.Windows.Forms.Form WindowsForm)
        {
            MercatorUi.MovableControls.Interfaces.IFormForMovableControls form = (MercatorUi.MovableControls.Interfaces.IFormForMovableControls)WindowsForm;
            List<Control> l = form.FindMovableControlsBySource("C_REGIME");
            if (l.Count > 0)
                Dialogs.Stop(l[0].GetType().ToString());
        }
    }
}