how to call method in different project in csharp visual studio

Code Example - how to call method in different project in csharp visual studio

                
                        public DataClasses1DataContext() :     base(global::WindowsFormsApplication1.Properties.Settings.Default.mediaBorshchConnectionString, mappingSource)
 { OnCreated(); }