private void frmCreateData_Load(object sender, EventArgs e) { dblayer = new DBLayer(Application.StartupPath + @"\App_Data\"); // TODO: This line of code loads data into the 'localInfoProtocolDataSet.Companies' table. You can move, or remove it, as needed. this.companiesTableAdapter.Fill(this.localInfoProtocolDataSet.Companies); // TODO: This line of code loads data into the 'localInfoProtocolDataSet.ActionsList' table. You can move, or remove it, as needed. this.actionsListTableAdapter.Fill(this.localInfoProtocolDataSet.ActionsList); // TODO: This line of code loads data into the 'localInfoProtocolDataSet.CreateData' table. You can move, or remove it, as needed. this.createDataTableAdapter.Fill(this.localInfoProtocolDataSet.CreateData); // TODO: This line of code loads data into the 'localInfoProtocolDataSet.CreateData' table. You can move, or remove it, as needed. //companiesBindingSource - CompanyVAT txtMaam.Text = Maam.ToString(); }
private void frmHaklada_Load(object sender, EventArgs e) { dblayer = new DBLayer(Application.StartupPath + @"\App_Data\"); dblayer.Current_Company_Info = Company_Info; dblayer.ReadShuratHakladaList(lvwOutbox, Company_Info.CompanyCountryID.ToString(), Company_Info.CompanyVAT, ActionsListDictionary); FillData(); txtMaam.Text = Maam.ToString(); dtpTarichMismachNew.Value = DateTime.Now; dtpTarichAcherNew.Value = DateTime.Now; titleBar1.Company_Info = Company_Info; PrepareIniFileName(); }