Ubuntu under Sqlite3 Configuration and use (later on Ubuntu C + + database application Development Program (Form program))

Source: Internet
Author: User

/*************************************************************** * Name:caculatormain.h * purpose:defines Appli Cation Frame * Author:zhangaihua ([email protected]) * created:2013-12-25 * Copyright:zhangaihua (http ://blog.csdn.net/u012388338) * License: **************************************************************/

#ifndef Caculatormain_h #define Caculatormain_h

#include "CaculatorApp.h"

#include "GUIFrame.h"

Class Caculatorframe:public Guiframe {    public:         Caculatorframe (Wxwindow *parent);         ~caculatorframe ();

    private:         void OnChar (wxkeyevent& event);         void Ontext (wxcommandevent& event);         void Oncls (wxcommandevent& event);         void Onbck (wxcommandevent& event);         void Onadd (wxcommandevent& event);         void Onnum (wxcommandevent& event);         void Onsub (wxcommandevent& event);         void Onmul (wxcommandevent& event);         void OnDot (wxcommandevent& event);         void Oneql (wxcommandevent& event);         void Ondiv (wxcommandevent& event);         void Onsqrt (wxcommandevent&amP event);         void Onsquare (wxcommandevent& event);         void Oncos (wxcommandevent& event);         void Onsin (wxcommandevent& event);         void Calculate ();         void Display1 ();         void Display2 ();         enum         {             idnum0=wxid_highest+314,              idnum1,idnum2,idnum3,              idnum4,idnum5,idnum6,             idNum7, Idnum8,idnum9        };         Double result;//Current meterCalculated results         char op;//operator         wxstring Msg };

#endif//Caculatormain_h

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.