public clientform(datamodule dm, mainform mnu) { DM = dm; frmMenu = mnu; InitializeComponent(); display(); pnladd.Visible = false; pnladd.Left = 233; pnladd.Top = 30; btmodifysave.Visible = false; btmodifycancel.Visible = false; }
public assignmentform(datamodule dm, mainform mnu) { DM = dm; frmMenu = mnu; InitializeComponent(); cmCase = (CurrencyManager)this.BindingContext[DM.dsbigeye, "T_Case"]; cmInvest = (CurrencyManager)this.BindingContext[DM.dsbigeye, "T_Investigator"]; cmAssign = (CurrencyManager)this.BindingContext[DM.dsbigeye, "T_Assignment"]; cmDt = (CurrencyManager)this.BindingContext[dt]; cmCtoAtoI = (CurrencyManager)this.BindingContext[DM.dsbigeye, "T_Case.T_Case_T_Assignment"]; display(); pnladd.Visible = false; pnladd.Left = 233; pnladd.Top = 30; editdata = false; }
public Invoicesform(datamodule dm, mainform mnu) { InitializeComponent(); DM = dm; frmMenu = mnu; }
///<Summary> method : mainform_Load /////create the data module and load the dataset ///</Summary> private void mainform_Load(object sender, EventArgs e) { DM = new datamodule(); }