Example #1
0
        public Main()
        {
            InitializeComponent();

            this.openFilePythonDialog.Filter = Properties.Resources.OpenFilePythonDialofFilter;
            this.openFileExcelDialog.Filter = Properties.Resources.OpenFileExcelDialofFilter;
            this.saveFileExcelDialog.Filter = Properties.Resources.SaveFileExcelDialofFilter;

            this.tbPython.Text = Properties.Resources.PythonTabName;
            this.tbBefore.Text = Properties.Resources.SourceTabName;
            this.tpAfter.Text = Properties.Resources.ResultTabName;

            this.bRun.Text = Properties.Resources.RunButton;
            this.bStop.Text = Properties.Resources.StopButton;
            this.bExport.Text = Properties.Resources.ExportButton;

            this.cbSetRowSelection.Text = Properties.Resources.SetRowSelection;
            this.cbSetCheckExcelColumnsType.Text = Properties.Resources.SetCheckExcelColumnsType;

            this.bReloadPython.Enabled = false;
            this.bReloadExcel.Enabled = false;

            _presenter = new MainPresenter(this);
            _waitHelper = new WaitHelper(this);
        }
Example #2
0
        public Main()
        {
            InitializeComponent();

            this.openFilePythonDialog.Filter = Properties.Resources.OpenFilePythonDialofFilter;
            this.openFileExcelDialog.Filter  = Properties.Resources.OpenFileExcelDialofFilter;
            this.saveFileExcelDialog.Filter  = Properties.Resources.SaveFileExcelDialofFilter;

            this.tbPython.Text = Properties.Resources.PythonTabName;
            this.tbBefore.Text = Properties.Resources.SourceTabName;
            this.tpAfter.Text  = Properties.Resources.ResultTabName;

            this.bRun.Text    = Properties.Resources.RunButton;
            this.bStop.Text   = Properties.Resources.StopButton;
            this.bExport.Text = Properties.Resources.ExportButton;

            this.cbSetRowSelection.Text          = Properties.Resources.SetRowSelection;
            this.cbSetCheckExcelColumnsType.Text = Properties.Resources.SetCheckExcelColumnsType;

            this.bReloadPython.Enabled = false;
            this.bReloadExcel.Enabled  = false;

            _presenter  = new MainPresenter(this);
            _waitHelper = new WaitHelper(this);
        }