コード例 #1
0
        public UC_TravelList(ChangePanel changePanel)
        {
            InitializeComponent();
            UC_TravelCell uc_cell = new UC_TravelCell(changePanel);

            AddCellInfoToPanel(uc_cell, PanelCell1);
        }
コード例 #2
0
 public UC_LogCell(string diaryId, ChangePanel changePanel)
 {
     InitializeComponent();
     this.DiaryId     = diaryId;
     this.ChangePanel = changePanel;
     SetFont();
 }
コード例 #3
0
 public UC_DiaryCell(string diaryId, ChangePanel changePanel, Refresh refresh)
 {
     InitializeComponent();
     this.DiaryId     = diaryId;
     this.ChangePanel = changePanel;
     this.Refresh     = refresh;
     SetFont();
 }
コード例 #4
0
 public UC_DiaryList(string uid, ChangePanel changePanel)
 {
     InitializeComponent();
     this.Uid         = uid;
     this.ChangePanel = changePanel;
     SetFont();
     InitInfo();
 }
コード例 #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);
        }
コード例 #6
0
 public UC_TravelList(ChangePanel changePanel, int Uid)
 {
     InitializeComponent();
     this.changePanel = changePanel;
     this.Uid         = Uid;
     SetFont();
     InitInfo();
 }
コード例 #7
0
 public UC_DiaryDetail(string diaryId, ChangePanel changePanel)
 {
     InitializeComponent();
     this.DiaryId     = diaryId;
     this.ChangePanel = changePanel;
     this.refresh     = ImgRefresh;
     SetFont();
     InitInfo();
 }
コード例 #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);
        }
コード例 #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();
 }
コード例 #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();
 }
コード例 #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();
 }
コード例 #12
0
ファイル: UC_SiteInfo.cs プロジェクト: G-H-Li/TravelNotepad
        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();
            }
        }
コード例 #13
0
 public UC_Site(ChangePanel changePanel, long routeID = -1)
 {
     InitializeComponent();
     this.routeID     = routeID;
     this.changePanel = changePanel;
 }
コード例 #14
0
 public static void AddChangePanel(Panels.Panel panelAkr, PanelLibrary.MountingPanel panelMount)
 {
     var chPanel = new ChangePanel(panelAkr, panelMount);
     ChangePanels.Add(chPanel);
 }
コード例 #15
0
 /// <summary>
 /// исключение панели из изменения
 /// </summary>
 /// <param name="chPanel"></param>
 public static void ExcludePanel(ChangePanel chPanel)
 {
 }
コード例 #16
0
 public UC_TravelCell(ChangePanel changePanel, long ID = -1)
 {
     InitializeComponent();
     this.changePanel = changePanel;
     travelID         = ID;
 }
コード例 #17
0
 internal static void Click(object sender)
 {
     ChangePanel.Invoke(sender, null);
 }