Example #1
0
        public IAlignmentDetails PromptForAlignment(bool alignFromCaret)
        {
            var form = new FormCodeAlignment {
                AlignFromCaret = alignFromCaret
            };

            return(form.ShowDialog() == System.Windows.Forms.DialogResult.Cancel ? null : form);
        }
 public FormCodeAlignment ShowAlignDialog(bool alignFromCaret)
 {
     var form = new FormCodeAlignment { AlignFromCaret = alignFromCaret };
     return form.ShowDialog() == System.Windows.Forms.DialogResult.Cancel ? null : form;
 }