Zusammenfassung für ViewProfile. Read and write the registry keys
Ejemplo n.º 1
0
        public PersistentForm( System.Windows.Forms.Form i_mainFrame, string i_subkey )
        {
            mainFrame = i_mainFrame;
            profile = new ViewProfile( i_subkey );

            // the intercepted eventhandlers
            mainFrame.Closing += new System.ComponentModel.CancelEventHandler(this.MainFrame_Closing);
            mainFrame.Load += new System.EventHandler(this.MainFrame_Load);
            mainFrame.Resize += new System.EventHandler(this.MainFrame_Resize);
            mainFrame.Move += new System.EventHandler(this.MainFrame_Move);
        }
Ejemplo n.º 2
0
        public PersistentForm(System.Windows.Forms.Form i_mainFrame, string i_subkey)
        {
            mainFrame = i_mainFrame;
            profile   = new ViewProfile(i_subkey);

            // the intercepted eventhandlers
            mainFrame.Closing += new System.ComponentModel.CancelEventHandler(this.MainFrame_Closing);
            mainFrame.Load    += new System.EventHandler(this.MainFrame_Load);
            mainFrame.Resize  += new System.EventHandler(this.MainFrame_Resize);
            mainFrame.Move    += new System.EventHandler(this.MainFrame_Move);
        }