Example #1
0
 public override void Dispose()
 {
     if(!_form.IsDisposed) {
         _form.Dispose();
     }
     _form = null;
     GC.SuppressFinalize(this);
 }
Example #2
0
 public override void Dispose()
 {
     if (!_form.IsDisposed)
     {
         _form.Dispose();
     }
     _form = null;
     GC.SuppressFinalize(this);
 }
Example #3
0
 protected override void Dispose(bool disposing)
 {
     if (!_form.IsDisposed)
     {
         _form.Dispose();
     }
     _form = null;
     base.Dispose(disposing);
 }
Example #4
0
 public override void Start()
 {
     _form = new DummyLightingOutputForm();
     _form.renderingStyle = _data.RenderStyle;
     _form.Text           = _data.FormTitle;
     _form.OutputCount    = OutputCount;
     _form.Show();
     _updateCount = 0;
 }
Example #5
0
 public DummyLighting()
 {
     _form = new DummyLightingOutputForm();
     _sw   = new Stopwatch();
 }
Example #6
0
 public DummyLighting()
 {
     _form = new DummyLightingOutputForm();
     _sw = new Stopwatch();
 }
Example #7
0
		protected override void Dispose(bool disposing)
		{
			if (!_form.IsDisposed) {
				_form.Dispose();
			}
			_form = null;
			base.Dispose(disposing);
		}