Exemplo n.º 1
0
 private void btnPreviewOSD_Click(object sender, EventArgs e)
 {
     if (preview == null || preview.IsDisposed)
     {
         preview = new KeyboardPreviewForm(viewModel);
         preview.Show();
     }
 }
Exemplo n.º 2
0
 private void closePreview()
 {
     if (preview != null && !preview.IsDisposed)
     {
         preview.Close();
         preview = null;
     }
 }
Exemplo n.º 3
0
 private void btnPreviewOSD_Click(object sender, EventArgs e)
 {
     if (preview == null || preview.IsDisposed)
     {
         preview = new KeyboardPreviewForm(viewModel);
         preview.Show();
     }
 }
Exemplo n.º 4
0
 private void closePreview()
 {
     if (preview != null && !preview.IsDisposed)
     {
         preview.Close();
         preview = null;
     }
 }