ACAT.Lib.Core.Utility.Windows.SetWindowPositionAndNotify C# (CSharp) Méthode

SetWindowPositionAndNotify() public static méthode

Set window pos to the specified position and notify when window position has changed
public static SetWindowPositionAndNotify ( Form form, WindowPosition position ) : void
form System.Windows.Forms.Form The form
position WindowPosition Where to set the position
Résultat void
        public static void SetWindowPositionAndNotify(Form form, WindowPosition position)
        {
            Log.Debug("Setting position to " + position);
            SetWindowPosition(form, position);
            if (EvtWindowPositionChanged != null)
            {
                Log.Debug("Calling evtpositionchanged with " + position);

                EvtWindowPositionChanged(form, position);
            }
        }

Same methods

Windows::SetWindowPositionAndNotify ( Form form, IntPtr insertAfter, WindowPosition position ) : void