示例#1
0
 public CubePanel(CubeProjection projection)
 {
     InitializeComponent();
     try
     {
         DataContext = projection;
     }
     catch (Exception exc)
     {
     }
 }
示例#2
0
 public CubePanel(CubeProjection projection)
 {
     InitializeComponent();
     try
     {
         DataContext = projection;
     }
     catch (Exception exc)
     {
     }
 }
示例#3
0
 public CubePlugin()
 {
     try
     {
         Name = "Cube";
         var projection = new CubeProjection();
         Content = projection;
         Panel   = null;
     }
     catch (Exception exc)
     {
         Logger.Instance.Error(string.Format("Error while loading '{0}'", GetType().FullName), exc);
     }
 }