Пример #1
0
 private void OnClickView(object sender, EventArgs e)
 {
     if (IsStructuredReport)
     {
         var form = new ReportForm(_file);
         form.ShowDialog(this);
     }
     else
     {
         var form = new DisplayForm(_file);
         form.ShowDialog(this);
     }
 }
Пример #2
0
		private void OnClickView(object sender, EventArgs e) {
			if (IsStructuredReport) {
				var form = new ReportForm(_file);
				form.ShowDialog(this);
			} else {
				var form = new DisplayForm(_file);
				form.ShowDialog(this);
			}
		}
Пример #3
0
		private void OnClickView(object sender, EventArgs e) {
			var form = new DisplayForm(_file);
			form.ShowDialog(this);
		}
Пример #4
0
        private void OnClickView(object sender, EventArgs e)
        {
            var form = new DisplayForm(_fileName);

            form.ShowDialog(this);
        }