public void SetDisplayingImageType(int type) { try { CWrapper.SetDispImage(type); } catch (Exception ex) { Console.WriteLine("Service Error:\n{0}", ex.Message); } }
private void imagetype_f_Checked(object sender, RoutedEventArgs e) { UncheckAll(); CWrapper.SetDispImage(5); imagetype_f.IsChecked = true; }