Пример #1
0
        internal FPatrol(ref Common.Interface newCommon, FPatrols newParentWindow)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            CommonCode                = newCommon;
            parentWindow              = newParentWindow;
            BindPatrolNumberAndClass +=
                new MethodInvoker(bindPatrolNumberAndClass);
            BindDatagrid +=
                new MethodInvoker(bindDatagrid);
            SetVisibillity += new SetVisibillityHandler(FPatrol_SetVisibillity);

            this.Resize += new EventHandler(FPatrol_Resize);
        }
Пример #2
0
		internal FPatrol(ref Common.Interface newCommon, FPatrols newParentWindow)
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			CommonCode = newCommon;
			parentWindow = newParentWindow;
			BindPatrolNumberAndClass += 
				new MethodInvoker(bindPatrolNumberAndClass);
			BindDatagrid += 
				new MethodInvoker(bindDatagrid);
			SetVisibillity += new SetVisibillityHandler(FPatrol_SetVisibillity);

			this.Resize += new EventHandler(FPatrol_Resize);
		}