示例#1
0
        //bool m_lockOut = false;

        public FormImageView3()
        {
            InitializeComponent();
            RestoreApplicationLocation.GeometryFromString(Properties.Settings.Default.WindowGeometry, this);
            FormLogin formLogin = new FormLogin();

            if (formLogin.ShowDialog() == DialogResult.OK)
            {
                // DBOps will use the provider to determine SQL syntax.
                DBOp.Provider = DBMgr.NativeConnectionParameters.Provider;
            }
            else
            {
                m_bClose = true;
            }
        }