public MainForm()
        {
            data_set_CalanderReports = new DataSet();
            data_set_salesman_list = new DataSet();
            data_set_salesman_report = new DataSet();
            mycurrencylist = new CurrencyList();
            loginform = new Login();
            viewrates = new ViewRates();
            calanderreports = new CalanderReports();
            salesmanreports = new SalesManReports();
            simpl = new ServerImplementation();
            curlist = new CurrencyList();
            simpl.Start_Server_Manually();

            RefreshSalesManList();

            InitializeComponent();
            this.menuStrip1.Visible = false;
            this.toolStrip1.Visible = false;
            LoadLoginForm();
            Add_All_Action_Listners();

            // for bypass login window in devlopment mode
            loginform.textBoxUsername.Text = "admin";//--
            loginform.textBoxPass.Text = "admin";//--
            LoginForm_Button_Login();//--
        }
 public bool Start_Server_Manually()
 {
     clist = new CurrencyList();
     Total_Currencies = clist.Cur_List.Count;
     return StartServer();
 }
 public bool Start_Server_Manually()
 {
     clist            = new CurrencyList();
     Total_Currencies = clist.Cur_List.Count;
     return(StartServer());
 }