Hi all, i`m a visual foxpro developer and started to learn develop windows applications in C#. How i can create menu in XML and when user login to database (MSSQL), system will grant access to options based on user rights ? My idea is to create form for sys admin create users and rights by ticking Y for each options in system. Thanks, Jeff.
yankoon
Posts
-
how to create xml menu -
Dynamically adding checkboxes in datagridview.Hi, from the dategridview, you can select edit columns and click "add" and for columntype just select "DataGridViewCheckBoxColumn". HTH, Jeff.
-
zedgraphHi all, i have 1 project to create dll for foxpro apps to call. now i need to create 2 line of line chart but it wont work. now it just show 1 line. //Line LineItem lineItemCurve = graphPaneChart.AddCurve(null, null, null, Color.Aqua, SymbolType.Circle); LineItem lineItemCurve2 = graphPaneChart.AddCurve(null, null, null, Color.Red, SymbolType.Diamond); foreach (double[] daDashboardCharInfo in dashboardChartInfo.ValueSet) { lineItemCurve = graphPaneChart.AddCurve(dashboardChartInfo.ValueSetTitle, null, daDashboardCharInfo, Color.Aqua, SymbolType.Circle); lineItemCurve2 = graphPaneChart.AddCurve(dashboardChartInfo.ValueSetTitle, null, daDashboardCharInfo, Color.Red, SymbolType.Diamond); } lineItemCurve.Symbol.Fill = new Fill(Color.Aqua); lineItemCurve.Symbol.Size = 6; lineItemCurve.Line.Width = 1.2F; lineItemCurve2.Symbol.Fill = new Fill(Color.Red); lineItemCurve2.Symbol.Size = 6; lineItemCurve2.Line.Width = 1.2F; Thanks.