Ejemplo n.º 1
0
        private void Setting_infomation(object s)
        {
            Save_paramter Save_Setting = (Save_paramter)s;

            //   MessageBox.Show(Save_Setting.namefollder+ Save_Setting.port+ Save_Setting.Refresh+ Save_Setting.GallryAtudo+ Save_Setting.Tow_Dictionary);
            save_To_properties(Save_Setting);
            //  connction();
            // connction();
        }
Ejemplo n.º 2
0
        private void save_To_properties(Save_paramter S)
        {
            Properties.Settings.Default.FolderName = S.namefollder;

            Properties.Settings.Default.Port         = S.port;
            Properties.Settings.Default.AutoRefreach = S.Refresh;
            Properties.Settings.Default.TowDirectory = S.Tow_Directory;
            Properties.Settings.Default.SaveGarllery = S.GallryAtudo;
            Properties.Settings.Default.Save();
            tansfer_form_properties();
        }
Ejemplo n.º 3
0
        private void Save_Click(object sender, EventArgs e)
        {
            Save_paramter Save = new Save_paramter()
            {
                namefollder = textFolder.Text, port = Convert.ToInt32(porttext.Text), Tow_Directory = this.Tow_dictionary, Refresh = refresh, GallryAtudo = saveGallery
            };

            //   d.namefollder = "hi nidal";
            if (infomation != null)
            {
                infomation(Save);
            }
            this.Close();
        }