public ContextMenuDataModel(CloudType Name_n_Img_type)
 {
     this.Text = Name_n_Img_type.ToString();
     this.Img  = Setting_UI.GetImage(ListBitmapImageResource.list_bm_cloud[(int)Name_n_Img_type]);
     this.Type = Name_n_Img_type;
 }
Exemplo n.º 2
0
 void LoadImage()
 {
     image_back.Source   = Setting_UI.GetImage(CloudManagerGeneralLib.Properties.Resources.back_icon).Source;
     image_next.Source   = Setting_UI.GetImage(CloudManagerGeneralLib.Properties.Resources.next_icon).Source;
     image_search.Source = Setting_UI.GetImage(CloudManagerGeneralLib.Properties.Resources.search_64x64, image_search.Width, image_search.Height).Source;
 }
 public ContextMenuDataModel(string Name, CloudType Img_type)
 {
     this.Text = Name;
     this.Img  = Setting_UI.GetImage(ListBitmapImageResource.list_bm_cloud[(int)Img_type]);
     this.Type = Img_type;
 }