private void MTRGROUPLoginButton_Click(object sender, EventArgs e)
        {
            ExternalBrowser externalBrowser = new ExternalBrowser();
            Settings        settings        = Settings.getInstance();

            externalBrowser.adminOpen(settings.domain + "admin/index.php?route=catalog/category");
        }
        private void button2_Click(object sender, EventArgs e)
        {
            ExternalBrowser externalBrowser = new ExternalBrowser();
            Settings        settings        = Settings.getInstance();

            externalBrowser.adminOpen(settings.domain + "admin/index.php?route=sale/customer");
        }
        private void button1_Click_1(object sender, EventArgs e)
        {
            ExternalBrowser externalBrowser = new ExternalBrowser();
            Settings        settings        = Settings.getInstance();
            String          CODE            = "";

            if (!DBNull.Value.Equals(TRDR.Current["CODE"]))
            {
                CODE = (String)TRDR.Current["CODE"].ToString();
            }
            else
            {
                return;
            }

            String result = this.customerHttp.getCId(CODE);

            result = result.Replace("\"", "");

            if (result.Equals("-1"))
            {
                MessageBox.Show("Ο πελάτης δεν υπάρχει στο Web.");
                return;
            }

            externalBrowser.adminOpen(settings.domain + "/" + settings.AdminPath + "/index.php?route=customer/customer/edit&customer_id=" + result);
        }
        private void button1_Click_2(object sender, EventArgs e)
        {
            ExternalBrowser externalBrowser = new ExternalBrowser();
            Settings        settings        = Settings.getInstance();
            String          CODE            = "";

            if (!DBNull.Value.Equals(MTRL.Current["CODE"]))
            {
                CODE = (String)MTRL.Current["MTRL"].ToString();
            }
            else
            {
                return;
            }

            String result = this.itemHttp.getPId(CODE);

            result = result.Replace("\"", "");

            if (result.Equals("-1"))
            {
                MessageBox.Show("Το προιόν δεν υπάρχει στο Web.");
                return;
            }

            String Url = settings.domain + "/" + settings.AdminPath + "/index.php?route=catalog/product/edit&product_id=" + result;

            externalBrowser.adminOpen(Url);
        }
예제 #5
0
        private void LoginButton_Click(object sender, EventArgs e)
        {
            ExternalBrowser externalBrowser = new ExternalBrowser();
            Settings        settings        = Settings.getInstance();
            String          CODE            = "";
            int             number;

            if (!DBNull.Value.Equals(PRCCategory.Current["CODE"]))
            {
                CODE = (String)PRCCategory.Current["CODE"].ToString();
            }
            else
            {
                return;
            }

            String result = this.pRCCategoryHttp.getId(CODE);

            result = result.Replace("\"", "");


            // MessageBox.Show(result);

            if (result.Equals("-1") || !int.TryParse(result, out number))
            {
                MessageBox.Show("Η τιμολογιακή κατηγορία δεν υπάρχει στο Web.");
                return;
            }

            externalBrowser.adminOpen(settings.domain + "admin/index.php?route=sale/customer_group/update&customer_group_id=" + result);
        }
예제 #6
0
        private void Weblogin(String orderΙd)
        {
            ExternalBrowser externalBrowser = new ExternalBrowser();
            Settings        settings        = Settings.getInstance();

            externalBrowser.adminOpen(settings.domain + "admin/index.php?route=sale/order/info&order_id=" + orderΙd);
        }
예제 #7
0
        private void WebLoginButton_Click(object sender, EventArgs e)
        {
            ExternalBrowser externalBrowser = new ExternalBrowser();
            Settings        settings        = Settings.getInstance();

            externalBrowser.adminOpen(settings.domain + settings.AdminPath + "/index.php?route=sale/order");
        }