Exemplo n.º 1
0
        private static void initialiseDialog()
        {
            dialogForgotPassword = new Dialog_ForgotPassword();
            Placement_Application.Components.Resolution res = new Placement_Application.Components.Resolution();
            res.ResizeForm(dialogForgotPassword, Common.dialog_height, Common.dialog_width);

            dialogForgotPassword.Opacity = Common.dialogOpacity;
            dialogForgotPassword.ShowDialog();
        }
        public static DialogResult Show()
        {
            dialogConfigure = new Dialog_Configure();
            Placement_Application.Components.Resolution res = new Placement_Application.Components.Resolution();
            res.ResizeForm(dialogConfigure, Common.dialog_height, Common.dialog_width);

            dialogConfigure.Opacity = Common.dialogOpacity;
            dialogConfigure.dropdown_batch.Focus();
            dialogConfigure.startBackgroundThread(false);
            dialogConfigure.ShowDialog();

            return(result);
        }