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

            fm.EditIndex = -1;
            if (fm.ShowDialog() == DialogResult.OK)
            {
                RefreshRoutingsView();
            }
        }
Ejemplo n.º 2
0
        private void lvRoutings_DoubleClick(object sender, EventArgs e)
        {
            int index = GetLvSelectedIndex();

            if (index < 0)
            {
                return;
            }
            var fm = new RoutingSettingDetailsForm();

            fm.EditIndex = index;
            if (fm.ShowDialog() == DialogResult.OK)
            {
                RefreshRoutingsView();
            }
        }