Ejemplo n.º 1
0
        public static void ShowForm(IWin32Window owner, ITutorial tutorial)
        {
            AreaForm form = new AreaForm(tutorial);

            form.ShowDialog(owner);
            form.DoDispose();
            tutorial.Disconnect();
        }
Ejemplo n.º 2
0
 private void ExamplesView_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         if (null != SelectedTutorial)
         {
             AreaForm.ShowForm(this, SelectedTutorial);
         }
     }
     catch (Exception exception)
     {
         ErrorForm.Show(this, null, exception.Message, exception);
     }
 }