private void btn_ok_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrWhiteSpace(tb_data_source.Text))
     {
         //import_from_flexiCapture();
         get_data("depo_slip");
         inserting("depo_slip");
         get_data("with_slip");
         inserting("with_slip");
         if (chk_view_imp_data.Checked == true)
         {
             View_Imported vi = new View_Imported();
             vi.Show();
         }
         this.Close();
     }
     else
     {
         MessageBox.Show("Please insert Location.", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
示例#2
0
        private void importedToolStripMenuItem_Click(object sender, EventArgs e)
        {
            View_Imported vi = new View_Imported();

            vi.Show();
        }