Exemplo n.º 1
0
 private void cmxAccountCat_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (cmxAccountCat.Text == "<new>")
     {
         ARAccountCategory ac = new  ARAccountCategory();
         ac.ShowDialog();
         cmxAccountCat.Items.Clear();
         SqlDataAdapter Adapter = new SqlDataAdapter("Select * from Ar_AccontCat", GeneralFunctions.ConnectionString);
         Adapter.Fill(this.dbAccountingProjectDS.Ar_AccontCat);
         GeneralFunctions.FillComboBox(this.dbAccountingProjectDS.Ar_AccontCat, this.cmxAccountCat, "ArAccCatCode", "0");
     }
 }
Exemplo n.º 2
0
        private void accountCategoryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ARAccountCategory frm = new ARAccountCategory();

            frm.ShowDialog();
        }