예제 #1
0
        private void ButtonSite_Click(object sender, RoutedEventArgs e)
        {
            ClearMe();
            int x = 0;

            try
            {
                x             = SiteNew.MainSite();
                textBox1.Text = Papa.infoSmall;
                textBox2.Text = Papa.infoBig;
            }
            catch { textBox2.Text = "Error"; }
        }
예제 #2
0
        private void ButtonAccSite_Click(object sender, RoutedEventArgs e)
        {
            ClearMe();
            AccBase.AccGetAccess();
            textBox2.Text = "~ " + Papa.infoSmall + "\t\n";

            SiteNew.MainSite();
            textBox1.Text  = Papa.infoSmall + "\t\n" + Papa.infoBig;
            textBox2.Text += "\n" + textBox1.Text;

            /*
             * string query = "SELECT * FROM ACCESS ORDER BY department; ";
             * string ofName = "access.csv";
             * ofName = System.IO.Path.Combine("R:/DRM/Access/Data/InData", ofName);
             * string outText = "";
             * AccessProcess(query, ofName, outText);
             *
             * SiteNew.MainSite();
             * textBox1.Text += " -> " + Papa.infoSmall;
             */
        }