本文整理汇总了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();
}
}
示例2: bi_AssignEmployeeToWorld_LinkClicked
private void bi_AssignEmployeeToWorld_LinkClicked(object sender, NavBarLinkEventArgs e)
{
if (ucEmployeeList1.EntityStore != null && ucEmployeeList1.FocusedEntity != null)
{
ucEmployeeList1.AssignToWorld ();
}
}
示例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);
}
示例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);
}
}
示例5: nbEdit_LinkClicked
private void nbEdit_LinkClicked(object sender, NavBarLinkEventArgs e)
{
Domain.Region region = _regionGridCtrl.FocusedRegion;
if (region != null)
{
_regionGridCtrl.ShowRegionStores();
}
}
示例6: navBarItem_DeleteCountry_LinkClicked
private void navBarItem_DeleteCountry_LinkClicked(object sender, NavBarLinkEventArgs e)
{
//ucCountryList21.FireDeleteEntity(null);
if (ucCountryList21.FocusedEntity != null)
{
ucCountryList21.ShowCountryDetail();
}
}
示例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;
}
示例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);
}
示例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();
}
}
}
示例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;
}
示例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;
}
}
示例12: nBarContacts_LinkClicked
private void nBarContacts_LinkClicked(object sender, NavBarLinkEventArgs e)
{
Focus();
OpenBrowse("Contact");
}
示例13: nBarCourse_LinkClicked
private void nBarCourse_LinkClicked(object sender, NavBarLinkEventArgs e)
{
Focus();
OpenBrowse("Class");
}
示例14: navBarTransportationExpenses_LinkClicked
private void navBarTransportationExpenses_LinkClicked(object sender, NavBarLinkEventArgs e)
{
Focus();
OpenBrowse("TransportationExpenses");
}
示例15: nBarCalanderEvent_LinkClicked
private void nBarCalanderEvent_LinkClicked(object sender, NavBarLinkEventArgs e)
{
MessageBox.Show("Under Construction...");
}