예제 #1
0
 private void ImporterRibbon_Load(object sender, RibbonUIEventArgs e)
 {
     this.select = new FolderSelection();
     this.select.ribbon = this;
     this.excelWin = Globals.Program.Application.ActiveWindow;
     this.import = new HeaderImport(excelWin);
     this.calc = new CalcImport(this);
     this.openFile = new System.Windows.Forms.OpenFileDialog();
     this.openFile.Filter = "Excel files(*.xls;*.xlsx;*.xlsm)|*.xls;*.xlsx;*.xlsm";
 }
예제 #2
0
 private void ImporterRibbon_Load(object sender, RibbonUIEventArgs e)
 {
     this.select          = new FolderSelection();
     this.select.ribbon   = this;
     this.excelWin        = Globals.Program.Application.ActiveWindow;
     this.import          = new HeaderImport(excelWin);
     this.calc            = new CalcImport(this);
     this.openFile        = new System.Windows.Forms.OpenFileDialog();
     this.openFile.Filter = "Excel files(*.xls;*.xlsx;*.xlsm)|*.xls;*.xlsx;*.xlsm";
 }