Beispiel #1
0
 private void kladderToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (!FocusChild("Kladder"))
     {
         FrmKladder m_frmKladder = new FrmKladder();
         m_frmKladder.MdiParent = this;
         m_frmKladder.Show();
     }
 }
Beispiel #2
0
        private void tblbankkonto2DataGridView_SelectionChanged(object sender, EventArgs e)
        {
            try
            {
                FrmMain    frmMain    = this.ParentForm as FrmMain;
                FrmKladder frmKladder = frmMain.GetChild("Kladder") as FrmKladder;

                tblbankkonto recBankkonto = this.tblbankkontoBindingSourceAfstemte.Current as tblbankkonto;
                int?         Bilagpid     = (from t in Program.dbDataTransSumma.tbltrans
                                             where t.afstem == recBankkonto.afstem
                                             select t.bilagpid).First();
                frmKladder.findBilag(Bilagpid);
            }
            catch
            {
            }
        }