예제 #1
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            frmServiceOrderEdit frm = new frmServiceOrderEdit(_ServiceOrderId, _ProtocolId, "Edit");

            frm.ShowDialog();

            if (frm.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                // Refrescar grilla
                btnFilter_Click(sender, e);
            }
        }
예제 #2
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            frmServiceOrderEdit frm = new frmServiceOrderEdit("0", "", "New");

            frm.ShowDialog();

            if (frm.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                // Refrescar grilla
                btnFilter_Click(sender, e);
            }
        }