File size: 895 Bytes
b1b3bae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
38

using DWSIM.Interfaces;
using System;
using System.Diagnostics;

namespace DWSIM.ProFeatures
{


    public partial class FormGHG : WeifenLuo.WinFormsUI.Docking.DockContent
    {

        public IFlowsheet CurrentFlowsheet;

        public IAnalyticsProvider AnalyticsProvider;

        public FormGHG()
        {
            InitializeComponent();
            lblFeature = _lblFeature;
            _lblFeature.Name = "lblFeature";
        }

        private void Button2_Click(object sender, EventArgs e)
        {

            Functions.CreateTransitionObject(CurrentFlowsheet, "", "GHG Emissions", "", "", default);

            Functions.DisplayTransitionForm(AnalyticsProvider, CurrentFlowsheet, "GHG Emissions");

        }

        private void FormGHG_Load_1(object sender, EventArgs e)
        {
            ExtensionMethods.FormExtensions.ChangeDefaultFont(this);
        }
    }
}