コード例 #1
0
ファイル: Main.cs プロジェクト: iEmiya/pyExcel
        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);
        }
コード例 #2
0
ファイル: Main.cs プロジェクト: VsPun/pyExcel
        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);
        }