public FileDialog(MainWindow window, FileChooserAction action) { if (action == FileChooserAction.Open) _dialog = new OpenFileDialog (); else _dialog = new FolderBrowserDialog (); }
public static void Main(string[] args) { Application.Init(); //Rc.Parse (AppDomain.CurrentDomain.BaseDirectory + "gtkrc"); var window = new MainWindow(); window.Show(); Application.Run(); }