Esempio n. 1
0
        private void DynamicVisibility(object sender, DynamicVisibilityEventArgs e)
        {
            DynamicVisibilityModeDialog dvg = new DynamicVisibilityModeDialog();

            dvg.ShowDialog(Owner);
            e.Item.DynamicVisibilityMode = dvg.DynamicVisibilityMode;
        }
 private void LabelExtentsClicked(object sender, DynamicVisibilityEventArgs e)
 {
     DynamicVisibilityModeDialog dvg = new DynamicVisibilityModeDialog();
     DialogResult dr = dvg.ShowDialog(Owner);
     if (dr == DialogResult.OK)
     {
         e.Item.DynamicVisibilityMode = dvg.DynamicVisibilityMode;
         e.Item.UseDynamicVisibility = true;
     }
 }
Esempio n. 3
0
        private void LabelExtentsClicked(object sender, DynamicVisibilityEventArgs e)
        {
            DynamicVisibilityModeDialog dvg = new DynamicVisibilityModeDialog();
            DialogResult dr = dvg.ShowDialog(Owner);

            if (dr == DialogResult.OK)
            {
                e.Item.DynamicVisibilityMode = dvg.DynamicVisibilityMode;
                e.Item.UseDynamicVisibility  = true;
            }
        }
 private void DynamicVisibility(object sender, DynamicVisibilityEventArgs e)
 {
     DynamicVisibilityModeDialog dvg = new DynamicVisibilityModeDialog();
     dvg.ShowDialog(Owner);
     e.Item.DynamicVisibilityMode = dvg.DynamicVisibilityMode;
 }