Ejemplo n.º 1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            FormNewCustomer fm = new FormNewCustomer();

            fm.Operation     = "New";
            fm.StartPosition = FormStartPosition.CenterParent;
            fm.fmCust        = this;
            fm.ShowDialog();
        }
Ejemplo n.º 2
0
        private void eDITToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string          id = contextMenuStrip1.Tag.ToString();
            FormNewCustomer fm = new FormNewCustomer();

            fm.Operation     = "EDIT";
            fm.fmCust        = this;
            fm.StartPosition = FormStartPosition.CenterParent;
            fm.ID            = id;
            fm.ShowDialog();
        }