예제 #1
0
        public Form1()
        {
            InitializeComponent();

            /*
             * Construct the Ideabiz Request handler
             */
            h = new IdeabizRequestHandler();


            /*
             * Read and set API credential to UI only for demo
             */
            txtCONSUMERSECRET.Text = h.IdabizAuth.CONSUMER_SECRET;
            txtCONSUMERKEY.Text    = h.IdabizAuth.CONSUMER_KEY;
            txtREFRESHTOKEN.Text   = h.IdabizAuth.REFRESH_TOKEN;
            txtACCESSTOKEN.Text    = h.IdabizAuth.ACCESS_TOKEN;
            txtTOKENURL.Text       = h.IdabizAuth.TOKEN_API;
        }
        public Form1()
        {

            InitializeComponent();

            /*
            Construct the Ideabiz Request handler
            */
             h= new IdeabizRequestHandler();


            /*
            Read and set API credential to UI only for demo
            */
            txtCONSUMERSECRET.Text = h.IdabizAuth.CONSUMER_SECRET;
            txtCONSUMERKEY.Text = h.IdabizAuth.CONSUMER_KEY;
            txtREFRESHTOKEN.Text = h.IdabizAuth.REFRESH_TOKEN;
            txtACCESSTOKEN.Text = h.IdabizAuth.ACCESS_TOKEN;
            txtTOKENURL.Text = h.IdabizAuth.TOKEN_API;

        }