-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStandardTradingRibbon.cs
More file actions
37 lines (32 loc) · 1.02 KB
/
StandardTradingRibbon.cs
File metadata and controls
37 lines (32 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Office.Tools.Ribbon;
using StandardTradingDataEntry.Forms.Company;
using StandardTradingDataEntry.Forms.Pricelist;
using StandardTradingDataEntry.Forms.Product;
namespace StandardTradingDataEntry
{
public partial class StandardTradingRibbon
{
private void Ribbon1_Load(object sender, RibbonUIEventArgs e)
{
}
private void EditCompanyButton_Click(object sender, RibbonControlEventArgs e)
{
CompanyViewForm1 viewForm = new CompanyViewForm1();
viewForm.Show();
}
private void EditProductButton_Click(object sender, RibbonControlEventArgs e)
{
ProductViewForm viewForm = new ProductViewForm();
viewForm.Show();
}
private void button1_Click(object sender, RibbonControlEventArgs e)
{
PriceListViewForm viewForm = new PriceListViewForm();
viewForm.Show();
}
}
}