Esempio n. 1
0
        private void BtnSubmitR_Click(object sender, RoutedEventArgs e)
        {
            int retval = 0;

            AppCompute appcomp = new AppCompute();

            string[] strinput = new string[4];
            int      nbrinput = 0;

            strinput[0] = txtcustidr.Text;
            strinput[1] = txtraiting.Text;
            strinput[2] = txtdatar.Text;
            strinput[3] = txtnotesr.Text;
            nbrinput    = 4;

            retval = appcomp.showData(strinput, nbrinput);
        }
Esempio n. 2
0
        private void BtnSubmitEMP_Click(object sender, RoutedEventArgs e)
        {
            int retval = 0;

            AppCompute appcomp = new AppCompute();

            string[] strinput = new string[4];
            int      nbrinput = 0;

            strinput[0] = txtempid.Text;
            strinput[1] = txtempfn.Text;
            strinput[2] = txtempln.Text;
            strinput[3] = txtemail.Text;

            nbrinput = 4;

            retval = appcomp.showData(strinput, nbrinput);
        }
Esempio n. 3
0
        private void BtnSubmitPT_Click(object sender, RoutedEventArgs e)
        {
            int retval = 0;

            AppCompute appcomp = new AppCompute();

            string[] strinput = new string[6];
            int      nbrinput = 0;

            strinput[0] = txtptid.Text;
            strinput[1] = txtempidpt.Text;
            strinput[2] = txtcustidpt.Text;
            strinput[3] = txtorderidpt.Text;
            strinput[4] = txtnum.Text;
            strinput[5] = txtpricept.Text;
            nbrinput    = 6;

            retval = appcomp.showData(strinput, nbrinput);
        }
Esempio n. 4
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            int retval = 0;

            AppCompute appcomp = new AppCompute();

            string[] strinput = new string[7];
            int      nbrinput = 0;

            strinput[0] = txtfgid.Text;
            strinput[1] = txtorder.Text;
            strinput[2] = txtitem.Text;
            strinput[3] = txtcolor.Text;
            strinput[4] = txtprice.Text;
            strinput[5] = txtpprice.Text;
            strinput[6] = txtstatus.Text;
            nbrinput    = 7;

            retval = appcomp.showData(strinput, nbrinput);
        }
Esempio n. 5
0
        private void BtnSubmitFC_Click(object sender, RoutedEventArgs e)
        {
            int retval = 0;

            AppCompute appcomp = new AppCompute();

            string[] strinput = new string[7];
            int      nbrinput = 0;

            strinput[0] = txtfcidfc.Text;
            strinput[1] = txtempfc.Text;
            strinput[2] = txtorderfc.Text;
            strinput[3] = txtclassfc.Text;
            strinput[4] = txtdatesfc.Text;
            strinput[5] = txtpricefc.Text;
            strinput[6] = txtstatusfc.Text;

            nbrinput = 7;

            retval = appcomp.showData(strinput, nbrinput);
        }