Ejemplo n.º 1
0
 private void editUserExpressionToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var form = new EditUserExpressionForm())
     {
         form.LoadUserConditions(queryBuilder1.QueryView);
         form.StartPosition = FormStartPosition.CenterParent;
         form.ShowDialog(this);
     }
 }
Ejemplo n.º 2
0
        private void editPredefinedConditionsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var activeWindow = ActiveMdiChild as ChildForm;

            if (activeWindow == null)
            {
                return;
            }

            using (var form = new EditUserExpressionForm())
            {
                form.LoadUserConditions(activeWindow.QueryView);
                form.StartPosition = FormStartPosition.CenterParent;
                form.ShowDialog(this);
            }
        }