Esempio n. 1
0
        private void importToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmImport frm = new frmImport();

            frm.Show();
            this.Hide();
        }
Esempio n. 2
0
        private void btnSearch_Click(object sender, EventArgs e)
        {
            frmImport frmThis = new frmImport();

            frmThis = this;
            this.Hide();
            frmImSearch frm = new frmImSearch(ref frmThis);

            frm.ShowDialog(ref txtTransaction_code);
        }
Esempio n. 3
0
        public frmImSearch(ref frmImport frmHandel)
        {
            InitializeComponent();

            dtpTransaction_fromdate.Value = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1);
            dtpTransaction_todate.Value   = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).AddMonths(1).AddDays(-1);

            refForm = frmHandel;

            this.btnSearch.Click -= new System.EventHandler(this.btnSearch_Click);
            this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);

            this.grdView.MouseDoubleClick -= new System.Windows.Forms.MouseEventHandler(this.grdView_MouseDoubleClick);
            this.grdView.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.grdView_MouseDoubleClick);
        }
        public frmImSearch(ref frmImport frmHandel)
        {
            InitializeComponent();

            dtpTransaction_fromdate.Value = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1);
            dtpTransaction_todate.Value = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).AddMonths(1).AddDays(-1);

            refForm = frmHandel;

            this.btnSearch.Click -= new System.EventHandler(this.btnSearch_Click);
            this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);

            this.grdView.MouseDoubleClick -= new System.Windows.Forms.MouseEventHandler(this.grdView_MouseDoubleClick);
            this.grdView.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.grdView_MouseDoubleClick);
        }
Esempio n. 5
0
 private void importToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmImport frm = new frmImport();
     frm.Show();
     this.Hide();
 }
Esempio n. 6
0
 private void btnSearch_Click(object sender, EventArgs e)
 {
     frmImport frmThis = new frmImport();
     frmThis = this;
     this.Hide();
     frmImSearch frm = new frmImSearch(ref frmThis);
     frm.ShowDialog(ref txtTransaction_code);
 }