当前位置: 首页>>代码示例>>C#>>正文


C# NavBarLinkEventArgs类代码示例

本文整理汇总了C#中NavBarLinkEventArgs的典型用法代码示例。如果您正苦于以下问题:C# NavBarLinkEventArgs类的具体用法?C# NavBarLinkEventArgs怎么用?C# NavBarLinkEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


NavBarLinkEventArgs类属于命名空间,在下文中一共展示了NavBarLinkEventArgs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: navBarItem1_LinkClicked

 private void navBarItem1_LinkClicked(object sender, NavBarLinkEventArgs e)
 {
     if (_regionGridCtrl.FocusedRegion != null)
     {
         _regionGridCtrl.EditRegion();
     }
 }
开发者ID:5509850,项目名称:baumax,代码行数:7,代码来源:RegionListCtrl.cs

示例2: bi_AssignEmployeeToWorld_LinkClicked

 private void bi_AssignEmployeeToWorld_LinkClicked(object sender, NavBarLinkEventArgs e)
 {
     if (ucEmployeeList1.EntityStore != null && ucEmployeeList1.FocusedEntity != null)
     {
         ucEmployeeList1.AssignToWorld ();
     }
 }
开发者ID:5509850,项目名称:baumax,代码行数:7,代码来源:UCEmployeeManagerControl.cs

示例3: createLicence_LinkClicked

 void createLicence_LinkClicked(object sender, NavBarLinkEventArgs e)
 {
     LicenceCreator licenceCreator = new LicenceCreator();
     licenceCreator.Dock = DockStyle.Fill;
     this.splitContainerControl.Panel2.Controls.Clear();
     this.splitContainerControl.Panel2.Controls.Add(licenceCreator);
 }
开发者ID:ViniciusConsultor,项目名称:ecustomsgs1,代码行数:7,代码来源:Form1.cs

示例4: navBarControl1_LinkClicked

        private void navBarControl1_LinkClicked(object sender, NavBarLinkEventArgs e)
        {
            PanelContainer.Controls.Clear();
            int a=1;
            char[] chars = e.Link.Caption.ToCharArray();
            if (chars[0] == 'М') { a = 41; }
            else
            {
                if (chars[0] == 'А') { a = 42; }
                else { if (chars[0] == 'К') { a = 43; } }
            }
            if (a < 41)
            {
                {
                    a = Convert.ToInt32(chars[0].ToString());
                    if (chars[1] > 46 && chars[1] < 58)
                    { a = a * 10 + Convert.ToInt32(chars[1].ToString()); }
                }
            }
            List<Question> questions = DbController.GetInstance().GetQuestionsByGroupId(a);
            aa = questions.Count;
            List<Grouping> groupResponse = DbController.GetInstance().GetGroupByGroupID(a);
            splitContainerControl1.Panel2.Text = groupResponse[0].groupName + ":                                      Нийт Асуулт:" + aa.ToString();

            for (int i = aa - 1; i >= 0; i--)
            {
                UcQuestionRead us = new UcQuestionRead(i + 1, questions[i]);
                us.Dock = DockStyle.Top;
                us.AutoSize = true;
                PanelContainer.Controls.Add(us);
            }
        }
开发者ID:tumur,项目名称:ExamProgram,代码行数:32,代码来源:ReadForm.cs

示例5: nbEdit_LinkClicked

 private void nbEdit_LinkClicked(object sender, NavBarLinkEventArgs e)
 {
     Domain.Region region = _regionGridCtrl.FocusedRegion;
     if (region != null)
     {
         _regionGridCtrl.ShowRegionStores();
     }
 }
开发者ID:5509850,项目名称:baumax,代码行数:8,代码来源:RegionListCtrl.cs

示例6: navBarItem_DeleteCountry_LinkClicked

 private void navBarItem_DeleteCountry_LinkClicked(object sender, NavBarLinkEventArgs e)
 {
     //ucCountryList21.FireDeleteEntity(null);
     if (ucCountryList21.FocusedEntity != null)
     {
         ucCountryList21.ShowCountryDetail();
     }
 }
开发者ID:5509850,项目名称:baumax,代码行数:8,代码来源:CountryManageControl.cs

示例7: navBarProjects_LinkClicked

 void navBarProjects_LinkClicked(object sender, NavBarLinkEventArgs e)
 {
     var uc = UC_Projects.GetUserControl(this.mainController.ProjectDataController);
     this.AddControlToLayout(uc);
     this.ribbon.Minimized = false;
     this.ribbonPageGroupMain.Visible = true;
     this.ribbonPageGroupNavigation.Visible = true;
 }
开发者ID:temeliev,项目名称:SmartCRM,代码行数:8,代码来源:RF_Main.cs

示例8: copyData_LinkClicked

 void copyData_LinkClicked(object sender, NavBarLinkEventArgs e)
 {
     MigrateData migrateData = new MigrateData();
     migrateData.Dock= DockStyle.Fill;
     migrateData.GetSourceConnectionClick += new GetConnectionEventHandler(migrateData_GetSourceConnectionClick);
     migrateData.GetDestinationConnectionClick += new GetConnectionEventHandler(migrateData_GetDestinationConnectionClick);
     this.splitContainerControl.Panel2.Controls.Clear();
     this.splitContainerControl.Panel2.Controls.Add(migrateData);
 }
开发者ID:ViniciusConsultor,项目名称:ecustomsgs1,代码行数:9,代码来源:Form1.cs

示例9: bi_RunStoreWorkingTimeEstimate_LinkClicked

 private void bi_RunStoreWorkingTimeEstimate_LinkClicked(object sender, NavBarLinkEventArgs e)
 {
     if (isCurentuserRoleCentralGlobalAdministration())
     {
         using (EstimatePreconditionsForm frm = new EstimatePreconditionsForm())
         {
             frm.IsCashDesk = false;
             frm.ShowDialog();
         }
     }
 }
开发者ID:5509850,项目名称:baumax,代码行数:11,代码来源:CountryManageControl.cs

示例10: navBarProjectCategories_LinkClicked

 private void navBarProjectCategories_LinkClicked(object sender, NavBarLinkEventArgs e)
 {
     var uc = (UC_ProjectCategories.GetUserControl(this.mainController.ProjectDataController));
     uc.Size = this.layoutControlUC.Size;
     this.layoutControlUC.Controls.Clear();
     this.layoutControlUC.Controls.Add(uc);
     this.StackControls.Push(uc);
     // this.currentControlName = uc.Name;
     this.ribbon.Minimized = false;
     this.ribbonPageGroupMain.Visible = true;
     this.barBtnSave.Enabled = true;
 }
开发者ID:temeliev,项目名称:SmartCRM,代码行数:12,代码来源:RF_Main.cs

示例11: NavBarControlDashboardLinkClicked

        private void NavBarControlDashboardLinkClicked(object sender, NavBarLinkEventArgs e)
        {
            switch (e.Link.ItemName)
            {
                case "BugetRequest":
                    BudgetRequest();
                    break;
                case "CreateProject":
                    CreateProject();
                    break;
                case "SearchProject":
                    SearchProject();
                    break;

                default:
                    MessageBox.Show(@"[ " + e.Link.ItemName + @" ] menu not implemented");
                    break;
            }
        }
开发者ID:zquall,项目名称:Makiwara,代码行数:19,代码来源:Dashboard.cs

示例12: nBarContacts_LinkClicked

 private void nBarContacts_LinkClicked(object sender, NavBarLinkEventArgs e)
 {
     Focus();
     OpenBrowse("Contact");
 }
开发者ID:gregggdavis,项目名称:schedww2,代码行数:5,代码来源:frmMain.cs

示例13: nBarCourse_LinkClicked

 private void nBarCourse_LinkClicked(object sender, NavBarLinkEventArgs e)
 {
     Focus();
     OpenBrowse("Class");
 }
开发者ID:gregggdavis,项目名称:schedww2,代码行数:5,代码来源:frmMain.cs

示例14: navBarTransportationExpenses_LinkClicked

 private void navBarTransportationExpenses_LinkClicked(object sender, NavBarLinkEventArgs e)
 {
     Focus();
     OpenBrowse("TransportationExpenses");
 }
开发者ID:gregggdavis,项目名称:schedww2,代码行数:5,代码来源:frmMain.cs

示例15: nBarCalanderEvent_LinkClicked

 private void nBarCalanderEvent_LinkClicked(object sender, NavBarLinkEventArgs e)
 {
     MessageBox.Show("Under Construction...");
 }
开发者ID:gregggdavis,项目名称:schedww2,代码行数:4,代码来源:frmMain.cs


注:本文中的NavBarLinkEventArgs类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。