private void Open_Invoice_List_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'projectDataSet8.invoice_1' table. You can move, or remove it, as needed.
            this.invoice_1TableAdapter1.Fill(this.projectDataSet8.invoice_1);
            // TODO: This line of code loads data into the 'projectDataSet7.invoice_1' table. You can move, or remove it, as needed.
            //this.invoice_1TableAdapter.Fill(this.projectDataSet7.invoice_1);

            ado_project TDB = new ado_project();
            DataTable   dt  = TDB.return_company_name();

            comboBox1.DataSource    = dt;
            comboBox1.DisplayMember = dt.Columns[0].ToString();
            radioButton1.Checked    = true;
            Open_Invoice_List op = new Open_Invoice_List();

            op.Refresh();
        }
示例#2
0
        private void openInvoicesToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Open_Invoice_List op = new Open_Invoice_List();

            op.ShowDialog();
        }