private void toolStripButtonMoney_Click(object sender, EventArgs e) { if (PID != 0) { MoneyMoov nov = (MoneyMoov)((MainForm)this.MdiParent).checkWin(new MoneyMoov());// = PID.ToString(); nov.PatFilter(PID, (string)___BASA__DataSet.Patients[0]["PFIO"]); } }
private void toolStripButtonMoney_Click(object sender, EventArgs e) { if ((DataRowView)kartyBindingSource.Current != null) { DataRowView curent = (DataRowView)kartyBindingSource.Current; MoneyMoov nov = (MoneyMoov)((MainForm)this.MdiParent).checkWin(new MoneyMoov()); nov.PatFilter((int)((DataRowView)curent)["PID"], ((DataRowView)curent)["PFIO"].ToString()); } }