Exemplo n.º 1
0
        public UC_TravelList(ChangePanel changePanel)
        {
            InitializeComponent();
            UC_TravelCell uc_cell = new UC_TravelCell(changePanel);

            AddCellInfoToPanel(uc_cell, PanelCell1);
        }
Exemplo n.º 2
0
 public UC_LogCell(string diaryId, ChangePanel changePanel)
 {
     InitializeComponent();
     this.DiaryId     = diaryId;
     this.ChangePanel = changePanel;
     SetFont();
 }
Exemplo n.º 3
0
 public UC_DiaryCell(string diaryId, ChangePanel changePanel, Refresh refresh)
 {
     InitializeComponent();
     this.DiaryId     = diaryId;
     this.ChangePanel = changePanel;
     this.Refresh     = refresh;
     SetFont();
 }
Exemplo n.º 4
0
 public UC_DiaryList(string uid, ChangePanel changePanel)
 {
     InitializeComponent();
     this.Uid         = uid;
     this.ChangePanel = changePanel;
     SetFont();
     InitInfo();
 }
Exemplo n.º 5
0
        public UC_AllSites(ChangePanel changePanel, long travelID = -1)
        {
            InitializeComponent();
            this.changePanel = changePanel;
            UC_Site uc_site = new UC_Site(this.changePanel);

            AddControlsToPanel(uc_site, Sitepanel1);
        }
Exemplo n.º 6
0
 public UC_TravelList(ChangePanel changePanel, int Uid)
 {
     InitializeComponent();
     this.changePanel = changePanel;
     this.Uid         = Uid;
     SetFont();
     InitInfo();
 }
Exemplo n.º 7
0
 public UC_DiaryDetail(string diaryId, ChangePanel changePanel)
 {
     InitializeComponent();
     this.DiaryId     = diaryId;
     this.ChangePanel = changePanel;
     this.refresh     = ImgRefresh;
     SetFont();
     InitInfo();
 }
Exemplo n.º 8
0
        public UC_SiteInfo(ChangePanel changePanel, long routeID = -1, bool isCreate = false)
        {
            InitializeComponent();
            this.routeID     = routeID;
            this.changePanel = changePanel;
            UC_Todo uc_todo = new UC_Todo();

            AddControlsToPanel(uc_todo, TodoflowLayoutPanel1);
        }
Exemplo n.º 9
0
 public UC_AllSites(ChangePanel changePanel, string travelTitle, long travelID)
 {
     InitializeComponent();
     this.changePanel = changePanel;
     this.travelId    = travelID;
     this.travelTitle = travelTitle;
     Lbl_title.Text   = travelTitle + "-路线总览";
     SetFont();
     InitInfo();
 }
Exemplo n.º 10
0
 public UC_TravelCell(ChangePanel changePanel, long ID, string title, Delegate_init init)
 {
     InitializeComponent();
     this.changePanel     = changePanel;
     travelTiltle         = title;
     travelID             = ID;
     Btn_TravelTitle.Text = title;
     this.init            = init;
     SetFont();
 }
Exemplo n.º 11
0
 public UC_Site(ChangePanel changePanel, string title, long travelID, long routeID, string siteid)
 {
     InitializeComponent();
     this.routeID     = routeID;
     this.travelId    = travelID;
     this.changePanel = changePanel;
     this.siteId      = siteid;
     SetFont();
     travelTitle = title;
     GetSiteName();
 }
Exemplo n.º 12
0
        public UC_SiteInfo(ChangePanel changePanel, string travelTitle, long travelId, bool isCreate = false, long routeID = -1, string siteId = "")
        {
            InitializeComponent();
            //SetFont();
            this.isCreate    = isCreate;
            this.changePanel = changePanel;
            this.TravelTitle = travelTitle;
            this.travelId    = travelId;

            comboBox_site.TextUpdate += ComboBox_site_TextUpdate;

            this.Lbl_title.Text = travelTitle;
            if (isCreate == false)
            {
                this.route.RouteId = routeID;
                this.siteId        = siteId;

                initinfo();
            }
        }
Exemplo n.º 13
0
 public UC_Site(ChangePanel changePanel, long routeID = -1)
 {
     InitializeComponent();
     this.routeID     = routeID;
     this.changePanel = changePanel;
 }
Exemplo n.º 14
0
 public static void AddChangePanel(Panels.Panel panelAkr, PanelLibrary.MountingPanel panelMount)
 {
     var chPanel = new ChangePanel(panelAkr, panelMount);
     ChangePanels.Add(chPanel);
 }
Exemplo n.º 15
0
 /// <summary>
 /// исключение панели из изменения
 /// </summary>
 /// <param name="chPanel"></param>
 public static void ExcludePanel(ChangePanel chPanel)
 {
 }
Exemplo n.º 16
0
 public UC_TravelCell(ChangePanel changePanel, long ID = -1)
 {
     InitializeComponent();
     this.changePanel = changePanel;
     travelID         = ID;
 }
 internal static void Click(object sender)
 {
     ChangePanel.Invoke(sender, null);
 }