Exemplo n.º 1
0
        private void JournalScreen(int vno)
        {
            frmJournal obj = new frmJournal();

            obj.MdiParent = this.MdiParent;
            obj.CallFromDailyAccMaster(vno);
            obj.Show();
        }
Exemplo n.º 2
0
        private void journalToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmJournal obj = new frmJournal();

            obj.MdiParent     = this;
            obj.StartPosition = FormStartPosition.CenterScreen;
            obj.Show();
        }
        private void Tsm_Click(object sender, EventArgs e)
        {
            frmJournal journal = new frmJournal();

            journal.VouncherId = Convert.ToInt32(((ToolStripMenuItem)sender).Tag);
            journal.MdiParent  = this;
            journal.Text       = ((ToolStripMenuItem)sender).Text;
            journal.Show();
            journal.BringToFront();
        }